ai-news-api / src /intelligence

Commit History

fix: move heuristic length check outside API exception block
c6524f1

vinitsingare commited on

fix: improve zero-shot robustness and add length heuristic
f7a048a

vinitsingare commited on

chore: migrate backend to hugging face space and add gh actions deployment
e92ae8f

vinitsingare commited on

refactor: load AI models directly into memory for unified HF Space backend
dc09f10

vinitsingare commited on

fix: parse Gradio v5 SSE stream for HF Worker prediction
f6acc0d

vinitsingare commited on

fix: switch HF Space worker from Docker/FastAPI to Gradio SDK (free tier)
8170a24

vinitsingare commited on

feat: add dedicated HF Space worker for DistilBERT inference and rewire backend to call it
c09459a

vinitsingare commited on

fix: prevent loading 800MB DistilBERT model into RAM to avoid OOM crash on Render free tier
9819a06

vinitsingare commited on

fix: cast numpy string to python string to prevent FastAPI JSON serialization errors
e78bfec

vinitsingare commited on

fix: pass local model to detect_fake_news in step 4 to prevent 30s api fallback
10707a5

vinitsingare commited on

fix: drastically reduce external API timeouts to prevent 60s proxy timeout on Hugging Face Spaces
9b45703

vinitsingare commited on

fix: Re-enable local PyTorch model load for Hugging Face Spaces to bypass HF API DNS errors
9fd089c

vinitsingare commited on

fix: exclusively use user's uploaded model instead of fallback models
d86275c

vinitsingare commited on

fix: add mrm8488/bert-tiny-finetuned-fake-news-detection to API fallback list for 100% uptime
61804b6

vinitsingare commited on

feat: target vinitsingare/distilbert_fake_news with API fallback
15e1da8

vinitsingare commited on

feat: add model uploader script and set API URL to vinitsingare/distilbert_fake_news
c5aa1a0

vinitsingare commited on

fix: add candidate model fallback list and rich template generator for XAI explanations
60f2701

vinitsingare commited on

fix: correct response parsing for zero-shot and standard input format for Qwen HF API
518fbec

vinitsingare commited on

fix: migrate from deprecated api-inference to router.huggingface.co/hf-inference to fix global DNS outage
c329b8c

vinitsingare commited on

fix: migrate from deprecated api-inference.huggingface.co to router.huggingface.co/hf-inference to fix global DNS outage
7f01ad9

vinitsingare commited on

fix: remove local model check from url_verifier so API can run
1d21597

vinitsingare commited on

fix: fully remove PyTorch DistilBERT loading from startup cache to fix OOM crash
c82f9ad

vinitsingare commited on

fix: resolve indentation error in fake_news.py
07050b2

vinitsingare commited on

fix: replace local DistilBERT loading with HF Inference API for Ash-211/Fake_news_model
157b5ee

vinitsingare commited on

fix: replace local Qwen and SigLIP models with HuggingFace API to resolve RAM limits
254b6a4

vinitsingare commited on

Merge branch 'main' of https://github.com/Ash-211/ai_news_monitor
5433614

vinitsingare commited on

fix: replace local mDeBERTa model with HuggingFace Inference API to reduce RAM usage
ce57d24

vinitsingare commited on

feat: integrate deepfake analysis and update XAI to use Qwen locally
e4122a9

Ash-211 commited on

feat: Add URL verification pipeline and rich XAI explanations
ff12525

Ash-211 commited on

fix: Restore DistilBERT fake news detector and update dependencies
371bc2b

vinitsingare commited on

Download models from existing HuggingFace Space
401c62d

vinitsingare commited on

Automate ingestion pipeline inside Discord bot at 9 AM IST
6e032df

vinitsingare commited on

feat: implement interactive pagination with Show More buttons for slash commands and restore database state
7fd4e2b

vinitsingare commited on

feat: Add Explainable AI (XAI) and fix DistilBERT dataset bias
6197db3

vinitsingare commited on