Noshal commited on
Commit
8f7d694
Β·
verified Β·
1 Parent(s): 0736f65

Create requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +35 -0
requirements.txt ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ═══════════════════════════════════════════════
2
+ # SAAF SHEHER – requirements.txt
3
+ # Pakistan's AI-Powered Civic Complaint System
4
+ # ═══════════════════════════════════════════════
5
+
6
+ # ── Core UI ────────────────────────────────────
7
+ gradio>=4.44.0
8
+
9
+ # ── Computer Vision ────────────────────────────
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
+
17
+ # ── Groq / Llama 3 (optional) ──────────────────
18
+ groq>=0.11.0 # Groq API client for Llama 3
19
+
20
+ # ── Voice / Audio ──────────────────────────────
21
+ gTTS>=2.5.1 # Text-to-speech (4 languages, free)
22
+ SpeechRecognition>=3.10.4 # Speech-to-text via Google STT
23
+ pydub>=0.25.1 # Audio format conversion (needed by SR)
24
+
25
+ # ── Networking / Utilities ─────────────────────
26
+ requests>=2.32.0
27
+ urllib3>=2.2.0
28
+ python-dotenv>=1.0.1 # Local .env file support
29
+
30
+ # ── Data / Numerics ────────────────────────────
31
+ numpy>=1.26.0
32
+
33
+ # ── Optional: audio backend for SpeechRecognition ──
34
+ # If microphone input is needed on server, also install:
35
+ # pyaudio>=0.2.14 (requires portaudio system library)