Qalam commited on
Commit
6fed909
·
verified ·
1 Parent(s): aea6219

fix: pin huggingface-hub<0.25 to fix HfFolder ImportError

Browse files
Files changed (1) hide show
  1. requirements.txt +41 -0
requirements.txt CHANGED
@@ -1,3 +1,44 @@
 
 
 
 
1
  gradio==4.36.0
2
  pandas==2.2.0
3
  numpy==1.26.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
  pandas==2.2.0
7
  numpy==1.26.0
8
+
9
+ # ─── Visualization ──────────────────────────────────────────────
10
+ plotly==5.19.0
11
+
12
+ # ─── CRITICAL: pin huggingface-hub <0.25 to keep HfFolder API ────
13
+ # HfFolder was removed in huggingface-hub 0.25+
14
+ # gradio 4.36 still imports HfFolder in gradio/oauth.py
15
+ huggingface-hub>=0.19.3,<0.25.0
16
+
17
+ # ─── Logging ────────────────────────────────────────────────────
18
+ loguru==0.7.2
19
+
20
+ # ─── LLM & API Providers ────────────────────────────────────────
21
+ openai>=1.12.0,<2.0.0
22
+ httpx>=0.27.0
23
+ requests>=2.31.0
24
+
25
+ # ─── Free Web Search ────────────────────────────────────────────
26
+ duckduckgo-search>=0.9.8
27
+
28
+ # ─── Utilities ──────────────────────────────────────────────────
29
+ python-dotenv>=1.0.0
30
+ psutil>=5.9.0
31
+
32
+ # ─── GitHub Sync ────────────────────────────────────────────────
33
+ PyGithub>=2.3.0
34
+
35
+ # ─── Blockchain & Security ──────────────────────────────────────
36
+ cryptography>=42.0.0
37
+
38
+ # ─── HTML Parsing (RAG web pages) ───────────────────────────────
39
+ beautifulsoup4>=4.12.0
40
+ lxml>=5.2.0
41
+
42
+ # ─── Async HTTP ─────────────────────────────────────────────────
43
+ aiohttp>=3.9.0
44
+ websockets>=12.0