Really-amin commited on
Commit
63f81dd
·
verified ·
1 Parent(s): f12eed5

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +7 -37
requirements.txt CHANGED
@@ -1,34 +1,13 @@
1
- """Unified dependencies for API server + Gradio dashboards (Hugging Face Spaces).
2
-
3
- This single file is what Hugging Face Spaces will install. It includes:
4
- - Core API server stack
5
- - Database/SQLAlchemy layer
6
- - Gradio dashboard + Plotly charts
7
- - Optional Transformers-based AI features
8
- """
9
-
10
- # Core API Server Requirements
11
- fastapi==0.109.0
12
- uvicorn[standard]==0.27.0
13
- pydantic==2.5.3
14
- sqlalchemy==2.0.25
15
- httpx==0.26.0
16
- websockets>=12.0
17
- python-dotenv
18
- python-multipart
19
- requests
20
- aiohttp>=3.8.0
21
-
22
- # Data Processing
23
  pandas>=2.1.0
24
 
25
- # Gradio Dashboard (Required for app.py)
26
- gradio>=4.12.0
27
- plotly>=5.18.0
28
-
29
- # AI Features (Optional but recommended)
30
  transformers>=4.36.0
31
  torch>=2.0.0
 
32
 
33
  # RSS Feed Parsing (Optional)
34
  feedparser>=6.0.10
@@ -37,13 +16,4 @@ feedparser>=6.0.10
37
  beautifulsoup4>=4.12.0
38
 
39
  # HuggingFace Hub (For model validation)
40
- huggingface-hub>=0.19.0
41
- # Gradio Dashboard & UI
42
- gradio==4.12.0
43
- plotly==5.18.0 # Enables chart features in the dashboard
44
- psutil==5.9.6 # Optional, used for system monitoring widgets
45
-
46
- # AI/ML Libraries (optional but recommended for AI features)
47
- transformers>=4.36.0 # Used by ai_models and HF integration
48
- torch>=2.0.0 # Backend for transformers (CPU build on HF Spaces)
49
- sentencepiece>=0.1.99 # Required by some Transformer text models
 
1
+ # Gradio Dashboard & UI (Required for app.py)
2
+ gradio
3
+ plotly==5.18.0
4
+ psutil==5.9.6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  pandas>=2.1.0
6
 
7
+ # AI/ML Libraries (optional but recommended for AI features)
 
 
 
 
8
  transformers>=4.36.0
9
  torch>=2.0.0
10
+ sentencepiece>=0.1.99
11
 
12
  # RSS Feed Parsing (Optional)
13
  feedparser>=6.0.10
 
16
  beautifulsoup4>=4.12.0
17
 
18
  # HuggingFace Hub (For model validation)
19
+ huggingface-hub>=0.19.0