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