--- title: fake-news-detector emoji: 🔍 colorFrom: red colorTo: yellow sdk: static pinned: false license: apache-2.0 --- # Fake News Detector A static web app that analyzes news headlines and articles for credibility, sensationalism, and emotional manipulation. ## Features - **AI Credibility Classification** — uses `facebook/bart-large-mnli` zero-shot classification with labels: credible news, misleading content, satire, opinion piece, factual reporting - **Sensationalism Score** — detects clickbait language patterns (0–10) - **Emotional Language Detection** — flags emotionally charged words (0–10) - **Source Quality Signals** — checks for quotes, named sources, statistics, and dates - **Overall Verdict** — Likely Credible / Uncertain / Likely Misleading ## Usage 1. Enter your [Hugging Face API token](https://huggingface.co/settings/tokens) 2. Choose **Headline Only** or **Full Article** mode 3. Paste your content and click **Analyze**