Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +12 -8
requirements.txt
CHANGED
|
@@ -1,20 +1,24 @@
|
|
| 1 |
-
#
|
| 2 |
gradio>=5.0.0
|
| 3 |
fastapi
|
| 4 |
uvicorn
|
| 5 |
python-multipart
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
| 9 |
transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
#
|
| 12 |
Pillow
|
| 13 |
numpy
|
| 14 |
tqdm
|
| 15 |
-
huggingface_hub
|
| 16 |
|
| 17 |
-
#
|
| 18 |
# opencv-python-headless
|
| 19 |
-
# scipy
|
| 20 |
-
# ultralytics # ← YOLO ke liye heavy hai, agar chahiye to baad mein add karna
|
|
|
|
| 1 |
+
# Basic web + API
|
| 2 |
gradio>=5.0.0
|
| 3 |
fastapi
|
| 4 |
uvicorn
|
| 5 |
python-multipart
|
| 6 |
|
| 7 |
+
# Hugging Face libraries
|
|
|
|
| 8 |
transformers
|
| 9 |
+
huggingface_hub
|
| 10 |
+
|
| 11 |
+
# PyTorch CPU-only version (yeh sahi tareeka hai)
|
| 12 |
+
--index-url https://download.pytorch.org/whl/cpu
|
| 13 |
+
torch
|
| 14 |
+
torchvision
|
| 15 |
+
torchaudio
|
| 16 |
|
| 17 |
+
# Other common libraries (lightweight)
|
| 18 |
Pillow
|
| 19 |
numpy
|
| 20 |
tqdm
|
|
|
|
| 21 |
|
| 22 |
+
# Agar aur kuch chahiye to yahan add kar sakte ho (heavy mat daalna abhi)
|
| 23 |
# opencv-python-headless
|
| 24 |
+
# scipy
|
|
|