Spaces:
Sleeping
Sleeping
Sontranwakumo
commited on
Commit
·
9c2b71f
1
Parent(s):
f0d5fb8
fix: requirement.txt
Browse files- Dockerfile +2 -0
- requirements.txt +0 -1
Dockerfile
CHANGED
|
@@ -8,6 +8,8 @@ WORKDIR /app
|
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
|
|
|
|
|
|
| 11 |
# Sao chép toàn bộ mã nguồn ứng dụng
|
| 12 |
COPY . .
|
| 13 |
|
|
|
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
+
RUN pip install ftfy regex tqdm
|
| 12 |
+
RUN pip install git+https://github.com/openai/CLIP.git
|
| 13 |
# Sao chép toàn bộ mã nguồn ứng dụng
|
| 14 |
COPY . .
|
| 15 |
|
requirements.txt
CHANGED
|
@@ -5,7 +5,6 @@ python-dotenv==1.1.0
|
|
| 5 |
torch==2.2.2
|
| 6 |
torchvision==0.17.2
|
| 7 |
Pillow==11.2.1
|
| 8 |
-
clip-by-openai==1.0
|
| 9 |
sentence-transformers==4.1.0
|
| 10 |
faiss-cpu==1.8.0
|
| 11 |
pyvi==0.1.1
|
|
|
|
| 5 |
torch==2.2.2
|
| 6 |
torchvision==0.17.2
|
| 7 |
Pillow==11.2.1
|
|
|
|
| 8 |
sentence-transformers==4.1.0
|
| 9 |
faiss-cpu==1.8.0
|
| 10 |
pyvi==0.1.1
|