Spaces:
Running
on
Zero
Running
on
Zero
Update requirements.txt
Browse files- requirements.txt +10 -4
requirements.txt
CHANGED
|
@@ -1,8 +1,14 @@
|
|
| 1 |
-
|
| 2 |
torch>=2.6.0
|
| 3 |
-
diffusers
|
| 4 |
transformers>=4.42.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
scipy
|
| 6 |
-
spaces
|
| 7 |
python-dotenv
|
| 8 |
-
|
|
|
|
| 1 |
+
# Torch and related libraries
|
| 2 |
torch>=2.6.0
|
|
|
|
| 3 |
transformers>=4.42.0
|
| 4 |
+
diffusers
|
| 5 |
+
accelerate
|
| 6 |
+
|
| 7 |
+
# --- PINNED GRADIO VERSIONS TO FIX THE BUG ---
|
| 8 |
+
gradio==4.31.0
|
| 9 |
+
gradio-client==0.15.0
|
| 10 |
+
|
| 11 |
+
# Other dependencies for your app
|
| 12 |
scipy
|
|
|
|
| 13 |
python-dotenv
|
| 14 |
+
Pillow # Pillow explicitly
|