Qalam commited on
Commit
8dffa8c
·
verified ·
1 Parent(s): 3e1131a

fix: pin huggingface-hub<0.25 to fix HfFolder ImportError in gradio 4.36

Browse files
Files changed (1) hide show
  1. requirements.txt +29 -7
requirements.txt CHANGED
@@ -1,18 +1,40 @@
 
 
 
 
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
 
1
+ # Nuclear Intelligence v5.0 - HuggingFace Space Requirements
2
+ # Optimized for HF Spaces (Python 3.11, gradio 4.36.0)
3
+
4
+ # ─── Core Framework ────────────────────────────────────────────
5
  gradio==4.36.0
6
+ gradio-client==1.1.1
7
  pandas==2.2.0
8
  numpy==1.26.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
+ # CRITICAL: must be <0.25 — HfFolder was removed in 0.25+
28
+ huggingface-hub>=0.19.3,<0.25.0
29
  PyGithub>=2.3.0
30
+
31
+ # ─── Blockchain & Security ──────────────────────────────────────
32
  cryptography>=42.0.0
33
+
34
+ # ─── HTML Parsing (RAG web pages) ───────────────────────────────
35
  beautifulsoup4>=4.12.0
36
  lxml>=5.2.0
37
+
38
+ # ─── Async HTTP ─────────────────────────────────────────────────
39
  aiohttp>=3.9.0
40
+ websockets>=12.0