Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +18 -12
requirements.txt
CHANGED
@@ -1,23 +1,29 @@
|
|
1 |
-
#
|
2 |
--no-cache-dir
|
3 |
--force-reinstall
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
Pillow==10.0.0
|
8 |
-
requests==2.31.0
|
9 |
-
wikipedia==1.4.0
|
10 |
-
torch==2.0.1
|
11 |
-
transformers==4.31.0
|
12 |
|
13 |
-
#
|
14 |
-
huggingface_hub==0.14.1
|
15 |
-
|
16 |
-
# Must remain at 0.19.x because it uses "cached_download"
|
17 |
diffusers==0.19.3
|
18 |
|
|
|
|
|
19 |
accelerate==0.20.3
|
|
|
|
|
|
|
20 |
realesrgan==0.3.0
|
21 |
basicsr==1.4.2
|
|
|
|
|
22 |
ultralytics==8.0.120
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
gradio==3.40.0
|
|
|
1 |
+
# Force a fresh install with no caching
|
2 |
--no-cache-dir
|
3 |
--force-reinstall
|
4 |
|
5 |
+
# Pin the EXACT version of huggingface-hub that still has "cached_download"
|
6 |
+
huggingface-hub==0.14.1
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
+
# diffusers 0.19.x requires "cached_download"
|
|
|
|
|
|
|
9 |
diffusers==0.19.3
|
10 |
|
11 |
+
# Transformers / Accelerate / Torch
|
12 |
+
transformers==4.31.0
|
13 |
accelerate==0.20.3
|
14 |
+
torch==2.0.1
|
15 |
+
|
16 |
+
# Real-ESRGAN and dependencies
|
17 |
realesrgan==0.3.0
|
18 |
basicsr==1.4.2
|
19 |
+
|
20 |
+
# Ultralytics (YOLO)
|
21 |
ultralytics==8.0.120
|
22 |
+
|
23 |
+
# Other libraries
|
24 |
+
numpy==1.23.5
|
25 |
+
opencv-python==4.8.0.74
|
26 |
+
Pillow==10.0.0
|
27 |
+
requests==2.31.0
|
28 |
+
wikipedia==1.4.0
|
29 |
gradio==3.40.0
|