Update requirements.txt
Browse files- requirements.txt +22 -7
requirements.txt
CHANGED
|
@@ -1,13 +1,28 @@
|
|
|
|
|
| 1 |
gradio>=4.44.0
|
| 2 |
spaces
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
deep-translator>=1.11.4
|
|
|
|
|
|
|
| 7 |
httpx>=0.25.0
|
| 8 |
beautifulsoup4>=4.12.0
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
peft>=0.5.0
|
| 12 |
datasets>=2.14.0
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core Gradio and Spaces
|
| 2 |
gradio>=4.44.0
|
| 3 |
spaces
|
| 4 |
+
|
| 5 |
+
# PyTorch - pinned to avoid unsloth compatibility issues
|
| 6 |
+
torch>=2.3.0,<2.6.0
|
| 7 |
+
torchvision
|
| 8 |
+
torchaudio
|
| 9 |
+
|
| 10 |
+
# Transformers and model loading
|
| 11 |
+
transformers>=4.36.0
|
| 12 |
+
accelerate>=0.21.0
|
| 13 |
+
bitsandbytes>=0.41.0
|
| 14 |
+
safetensors>=0.3.2
|
| 15 |
+
|
| 16 |
+
# Text processing and translation
|
| 17 |
deep-translator>=1.11.4
|
| 18 |
+
|
| 19 |
+
# HTTP requests
|
| 20 |
httpx>=0.25.0
|
| 21 |
beautifulsoup4>=4.12.0
|
| 22 |
+
|
| 23 |
+
# Data processing
|
|
|
|
| 24 |
datasets>=2.14.0
|
| 25 |
+
numpy
|
| 26 |
+
|
| 27 |
+
# Optional: For better performance
|
| 28 |
+
flash-attn>=2.3.0; python_version>="3.8"
|