Qalam commited on
Commit
0793475
·
verified ·
1 Parent(s): 0c1a305

fix: pin gradio==4.36.0 exactly (no range) and use tested versions

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -30
requirements.txt CHANGED
@@ -1,42 +1,18 @@
1
- # Nuclear Intelligence v5.0 - HuggingFace Space Requirements
2
- # Optimized for HF Spaces (Python 3.11)
3
- # Keep minimal but complete — missing deps cause runtime NameErrors.
4
-
5
- # ─── Core Framework (Gradio 4.36 is the last reliable on Py 3.11) ──
6
- gradio>=4.36.0,<5.0.0
7
- pandas>=2.2.0,<3.0.0
8
- numpy>=1.26.0,<3.0.0
9
-
10
- # ─── Visualization ──────────────────────────────────────────────
11
  plotly>=5.19.0
12
-
13
- # ─── LLM & API Providers ────────────────────────────────────────
14
- openai>=1.12.0,<2.0.0
15
  httpx>=0.27.0
16
  requests>=2.31.0
17
-
18
- # ─── Free Web Search ────────────────────────────────────────────
19
- duckduckgo-search>=0.9.8
20
-
21
- # ─── Utilities & Logging ────────────────────────────────────────
22
  python-dotenv>=1.0.0
23
  loguru>=0.7.2
24
- psutil>=5.9.0
25
-
26
- # ─── HuggingFace & GitHub Sync ──────────────────────────────────
27
  huggingface-hub>=0.22.0
28
  PyGithub>=2.3.0
29
-
30
- # ─── Blockchain & Security ──────────────────────────────────────
31
  cryptography>=42.0.0
32
-
33
- # ─── HTML Parsing (RAG web pages) ───────────────────────────────
34
  beautifulsoup4>=4.12.0
35
  lxml>=5.2.0
36
-
37
- # ─── Async HTTP ─────────────────────────────────────────────────
38
  aiohttp>=3.9.0
39
  websockets>=12.0
40
-
41
- # ─── Optional FAISS (gracefully skipped if missing) ─────────────
42
- # faiss-cpu>=1.7.4
 
1
+ gradio==4.36.0
2
+ pandas==2.2.0
3
+ numpy==1.26.0
 
 
 
 
 
 
 
4
  plotly>=5.19.0
5
+ openai>=1.12.0
 
 
6
  httpx>=0.27.0
7
  requests>=2.31.0
 
 
 
 
 
8
  python-dotenv>=1.0.0
9
  loguru>=0.7.2
 
 
 
10
  huggingface-hub>=0.22.0
11
  PyGithub>=2.3.0
 
 
12
  cryptography>=42.0.0
13
+ psutil>=5.9.0
 
14
  beautifulsoup4>=4.12.0
15
  lxml>=5.2.0
 
 
16
  aiohttp>=3.9.0
17
  websockets>=12.0
18
+ duckduckgo-search>=0.9.8