Noshal commited on
Commit
f11bd6e
Β·
verified Β·
1 Parent(s): 505769a

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +68 -0
requirements.txt CHANGED
@@ -10,7 +10,75 @@ gradio>=4.44.0
10
  ultralytics>=8.3.0 # YOLOv8 (downloads yolov8n.pt automatically)
11
  opencv-python-headless>=4.9 # Image processing (headless = no GUI deps)
12
  Pillow>=10.3.0 # PIL image handling
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  # ── Google Gemini ──────────────────────────────
15
  google-generativeai>=0.8.3 # Gemini 2.0 Flash
16
 
 
10
  ultralytics>=8.3.0 # YOLOv8 (downloads yolov8n.pt automatically)
11
  opencv-python-headless>=4.9 # Image processing (headless = no GUI deps)
12
  Pillow>=10.3.0 # PIL image handling
13
+ # ═══════════════════════════════════════════════
14
+ # SAAF SHEHER – requirements.txt
15
+ # Pakistan's AI-Powered Civic Complaint System
16
+ # ═══════════════════════════════════════════════
17
+
18
+ # ── Core UI ────────────────────────────────────
19
+ gradio>=4.44.0
20
+ plotly>=5.18.0
21
+
22
+ # PDF Generation
23
+ reportlab>=4.0.0
24
+
25
+ # Image Processing
26
+ Pillow>=10.0.0
27
+
28
+ # AI/ML Models
29
+ ultralytics>=8.0.0
30
+ sentence-transformers>=2.2.2
31
+ faiss-cpu>=1.7.4
32
+
33
+ # Google AI (Gemini)
34
+ google-generativeai>=0.3.0
35
 
36
+ # Groq AI (Llama)
37
+ groq>=0.4.0
38
+
39
+ # Text-to-Speech
40
+ gTTS>=2.4.0
41
+
42
+ # Speech Recognition
43
+ SpeechRecognition>=3.10.0
44
+
45
+ # Audio Processing
46
+ pydub>=0.25.1
47
+
48
+ # Data Processing
49
+ numpy>=1.24.0
50
+ pandas>=2.0.0
51
+
52
+ # Additional Dependencies
53
+ python-dateutil>=2.8.0
54
+ requests>=2.31.0
55
+ # ── Computer Vision ────────────────────────────
56
+ ultralytics>=8.3.0 # YOLOv8 (downloads yolov8n.pt automatically)
57
+ opencv-python-headless>=4.9 # Image processing (headless = no GUI deps)
58
+ Pillow>=10.3.0 # PIL image handling
59
+ sentence-transformers>=2.2.0
60
+ # ── Google Gemini ──────────────────────────────
61
+ google-generativeai>=0.8.3 # Gemini 2.0 Flash
62
+
63
+ # ── Groq / Llama 3 (optional) ──────────────────
64
+ groq>=0.11.0 # Groq API client for Llama 3
65
+
66
+ # ── Voice / Audio ──────────────────────────────
67
+ gTTS>=2.5.1 # Text-to-speech (4 languages, free)
68
+ SpeechRecognition>=3.10.4 # Speech-to-text via Google STT
69
+ pydub>=0.25.1 # Audio format conversion (needed by SR)
70
+
71
+ # ── Networking / Utilities ─────────────────────
72
+ requests>=2.32.0
73
+ urllib3>=2.2.0
74
+ python-dotenv>=1.0.1 # Local .env file support
75
+
76
+ # ── Data / Numerics ────────────────────────────
77
+ numpy>=1.26.0
78
+
79
+ # ── Optional: audio backend for SpeechRecognition ──
80
+ # If microphone input is needed on server, also install:
81
+ # pyaudio>=0.2.14 (requires portaudio system library)
82
  # ── Google Gemini ──────────────────────────────
83
  google-generativeai>=0.8.3 # Gemini 2.0 Flash
84