Spaces:
Sleeping
Sleeping
fahmiaziz98
commited on
Commit
·
b90bbfd
1
Parent(s):
ef27138
fix version
Browse files- Dockerfile +1 -1
- requirements.txt +2 -3
Dockerfile
CHANGED
@@ -19,7 +19,7 @@ WORKDIR /app
|
|
19 |
|
20 |
COPY --chown=user requirements.txt .
|
21 |
RUN pip install --no-cache-dir --user -r requirements.txt
|
22 |
-
|
23 |
FROM python:3.9-slim
|
24 |
|
25 |
RUN apt-get update && apt-get install -y \
|
|
|
19 |
|
20 |
COPY --chown=user requirements.txt .
|
21 |
RUN pip install --no-cache-dir --user -r requirements.txt
|
22 |
+
|
23 |
FROM python:3.9-slim
|
24 |
|
25 |
RUN apt-get update && apt-get install -y \
|
requirements.txt
CHANGED
@@ -2,7 +2,6 @@ boto3==1.37.27
|
|
2 |
# torch==2.6.0 # Uncomment the line below if you want to use the GPU version of PyTorch
|
3 |
torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu
|
4 |
pillow==11.1.0
|
5 |
-
|
6 |
-
transformers --no-deps
|
7 |
fastapi==0.115.12
|
8 |
-
uvicorn==0.34.0
|
|
|
2 |
# torch==2.6.0 # Uncomment the line below if you want to use the GPU version of PyTorch
|
3 |
torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu
|
4 |
pillow==11.1.0
|
5 |
+
transformers[torch]==4.50.3
|
|
|
6 |
fastapi==0.115.12
|
7 |
+
uvicorn==0.34.0
|