Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +10 -2
requirements.txt
CHANGED
|
@@ -1,3 +1,11 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
gradio
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🧠 Core dependencies
|
| 2 |
+
torch==2.3.0
|
| 3 |
+
transformers @ git+https://github.com/huggingface/transformers.git@096f25ae1f501a084d8ff2dcaf25fbc2bd60eba4
|
| 4 |
+
|
| 5 |
+
# Optional but recommended (depending on where you run it)
|
| 6 |
+
accelerate
|
| 7 |
gradio
|
| 8 |
+
|
| 9 |
+
# If you plan to use CPU only, comment out torch above and use:
|
| 10 |
+
#torch==2.3.0+cpu
|
| 11 |
+
# --extra-index-url https://download.pytorch.org/whl/cpu
|