Spaces:
Runtime error
Runtime error
Upload requirements.txt
Browse files- requirements.txt +7 -7
requirements.txt
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
-
# Core dependencies
|
| 2 |
-
torch>=1.7.0
|
| 3 |
-
torchvision>=0.8.0
|
| 4 |
-
diffusers
|
| 5 |
-
transformers
|
| 6 |
-
accelerate
|
| 7 |
ftfy>=6.1.1
|
| 8 |
gradio>=3.20.0
|
| 9 |
numpy>=1.22.0
|
| 10 |
Pillow>=9.0.0
|
| 11 |
tqdm>=4.64.0
|
| 12 |
-
huggingface-hub
|
| 13 |
|
| 14 |
# HF Spaces specific
|
| 15 |
gradio-client>=0.2.5
|
|
|
|
| 1 |
+
# Core dependencies with pinned versions for compatibility
|
| 2 |
+
torch>=1.7.0,<2.0.0
|
| 3 |
+
torchvision>=0.8.0,<0.15.0
|
| 4 |
+
diffusers==0.10.2
|
| 5 |
+
transformers==4.25.1
|
| 6 |
+
accelerate==0.16.0
|
| 7 |
ftfy>=6.1.1
|
| 8 |
gradio>=3.20.0
|
| 9 |
numpy>=1.22.0
|
| 10 |
Pillow>=9.0.0
|
| 11 |
tqdm>=4.64.0
|
| 12 |
+
huggingface-hub==0.11.1
|
| 13 |
|
| 14 |
# HF Spaces specific
|
| 15 |
gradio-client>=0.2.5
|