Spaces:
Runtime error
Runtime error
File size: 520 Bytes
659554e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# requirements.txt fastapi==0.68.0 uvicorn==0.15.0 torch transformers git+https://github.com/VarunGumma/IndicTransToolkit.git pydantic python-multipart # Dockerfile FROM python:3.9 WORKDIR /code # Install git RUN apt-get update && apt-get install -y git COPY ./requirements.txt /code/requirements.txt COPY ./app.py /code/app.py # Install dependencies RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # Expose the port EXPOSE 7860 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |