Really-amin's picture
Upload 295 files
d6d843f verified
CRYPTO INTELLIGENCE HUB - FIXED
QUICK START:
1. unzip crypto-fixed.zip
2. cd crypto-dt-source-hf-integrated
3. pip install -r requirements.txt
4. export HF_TOKEN=your_token
5. uvicorn hf_unified_server:app --host 0.0.0.0 --port 7860
6. Open http://localhost:7860/
TEST:
chmod +x test.sh
./test.sh http://localhost:7860
FIXED:
βœ“ All 15 /api/* endpoints added
βœ“ WebSocket /ws working
βœ“ apiExplorerView.js null checks
βœ“ debugConsoleView.js null checks
βœ“ admin.html API Explorer section
βœ“ Startup initializes models & registry
βœ“ 10+ HF models ensemble
βœ“ 14 datasets curated
ENDPOINTS:
GET /api/health
GET /api/coins/top?limit=10
GET /api/coins/{symbol}
GET /api/market/stats
GET /api/charts/price/{symbol}?timeframe=7d
POST /api/charts/analyze
GET /api/news/latest?limit=40
POST /api/news/summarize
POST /api/sentiment/analyze
POST /api/query
GET /api/providers
GET /api/datasets/list
GET /api/datasets/sample?name=...
GET /api/models/list
POST /api/models/test
WS /ws