Spaces:
Sleeping
Sleeping
FROM python:3.10-slim | |
WORKDIR /app | |
COPY . . | |
RUN pip install --upgrade pip && \ | |
pip install torch==2.0.1 --index-url https://download.pytorch.org/whl/cu118 && \ | |
pip install --no-cache-dir -r requirements.txt | |
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] |