Spaces:
Runtime error
Runtime error
FROM python:3.9 | |
COPY . . | |
RUN export TRANSFORMERS_CACHE=/blabla/cache/ | |
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu | |
RUN pip install --upgrade -r requirements.txt | |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |