Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files123456789101112FROM python:3.9WORKDIR /codeCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txtCOPY . .
# This line automatically downloads your massive model bypassing the 1GB limit!RUN pip install huggingface-hubRUN huggingface-cli download TuTGo/toxic-model toxic_xlmr.tflite --local-dir .RUN huggingface-cli download TuTGo/toxic-model sentencepiece.bpe.model --local-dir .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]DockerfileAdded+12