File size: 997 Bytes
d6d843f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | 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
|