Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +6 -15
requirements.txt
CHANGED
|
@@ -1,32 +1,23 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
| 2 |
numpy==1.23.5
|
| 3 |
opencv-python==4.8.0.74
|
| 4 |
Pillow==10.0.0
|
| 5 |
requests==2.31.0
|
| 6 |
wikipedia==1.4.0
|
| 7 |
-
|
| 8 |
-
# PyTorch
|
| 9 |
-
# If GPU is required, replace with the correct CUDA/MPS version
|
| 10 |
torch==2.0.1
|
| 11 |
-
|
| 12 |
-
# Hugging Face Ecosystem
|
| 13 |
transformers==4.31.0
|
| 14 |
|
| 15 |
-
#
|
| 16 |
huggingface_hub==0.14.1
|
| 17 |
|
| 18 |
-
#
|
| 19 |
diffusers==0.19.3
|
| 20 |
|
| 21 |
-
# accelerate is optional but often required for device_map="auto"
|
| 22 |
accelerate==0.20.3
|
| 23 |
-
|
| 24 |
-
# Real-ESRGAN and Dependencies
|
| 25 |
realesrgan==0.3.0
|
| 26 |
basicsr==1.4.2
|
| 27 |
-
|
| 28 |
-
# Ultralytics (YOLO)
|
| 29 |
ultralytics==8.0.120
|
| 30 |
-
|
| 31 |
-
# Gradio
|
| 32 |
gradio==3.40.0
|
|
|
|
| 1 |
+
# For no cache usage and forced reinstall
|
| 2 |
+
--no-cache-dir
|
| 3 |
+
--force-reinstall
|
| 4 |
+
|
| 5 |
numpy==1.23.5
|
| 6 |
opencv-python==4.8.0.74
|
| 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 |
+
# Must be pinned so "cached_download" is available
|
| 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
|