Spaces:
Running
on
T4
Running
on
T4
Update app.py
#94
by
John6666
- opened
app.py
CHANGED
|
@@ -18,11 +18,11 @@ setup()
|
|
| 18 |
# download cache files
|
| 19 |
print("Download preprocessed cache files...")
|
| 20 |
CACHE_URLS = [
|
| 21 |
-
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_artists.
|
| 22 |
-
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_flavors.
|
| 23 |
-
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_mediums.
|
| 24 |
-
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_movements.
|
| 25 |
-
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_trendings.
|
| 26 |
]
|
| 27 |
os.makedirs('cache', exist_ok=True)
|
| 28 |
for url in CACHE_URLS:
|
|
|
|
| 18 |
# download cache files
|
| 19 |
print("Download preprocessed cache files...")
|
| 20 |
CACHE_URLS = [
|
| 21 |
+
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_artists.safetensors',
|
| 22 |
+
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_flavors.safetensors',
|
| 23 |
+
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_mediums.safetensors',
|
| 24 |
+
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_movements.safetensors',
|
| 25 |
+
'https://huggingface.co/pharma/ci-preprocess/resolve/main/ViT-H-14_laion2b_s32b_b79k_trendings.safetensors',
|
| 26 |
]
|
| 27 |
os.makedirs('cache', exist_ok=True)
|
| 28 |
for url in CACHE_URLS:
|