Seniordev22 commited on
Commit
6f834ff
·
verified ·
1 Parent(s): 800f068

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +12 -8
requirements.txt CHANGED
@@ -1,20 +1,24 @@
1
- # Core for Gradio + API
2
  gradio>=5.0.0
3
  fastapi
4
  uvicorn
5
  python-multipart
6
 
7
- # ML Libraries (CPU only - important!)
8
- torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
9
  transformers
 
 
 
 
 
 
 
10
 
11
- # Common utilities
12
  Pillow
13
  numpy
14
  tqdm
15
- huggingface_hub
16
 
17
- # Optional (sirf agar zarurat ho to uncomment karo, warna hata do)
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