Spaces:
Runtime error
Runtime error
File size: 280 Bytes
502401a 5576075 21a3c73 502401a |
1 2 3 4 5 6 7 8 9 |
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"] |