Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
title: Misinformation Detection Dashboard
|
| 4 |
+
sdk: gradio
|
| 5 |
+
colorFrom: red
|
| 6 |
+
colorTo: red
|
| 7 |
+
---
|
| 8 |
+
# Misinformation Detection Dashboard
|
| 9 |
+
|
| 10 |
+
This Hugging Face Space uses **Gradio** to provide a simple and interactive dashboard for detecting misinformation in article text or URLs.
|
| 11 |
+
|
| 12 |
+
## Features
|
| 13 |
+
|
| 14 |
+
- Paste article text or a URL
|
| 15 |
+
- Choose input type: Auto Detect, Text, or URL
|
| 16 |
+
- Get a verdict: Authentic or Possibly Misinformation
|
| 17 |
+
- See the authenticity score (0–100%)
|
| 18 |
+
|
| 19 |
+
## How It Works
|
| 20 |
+
|
| 21 |
+
The app uses a fine-tuned BERT model (`mrm8488/bert-tiny-finetuned-fake-news-detection`) from Hugging Face Transformers to classify input text.
|
| 22 |
+
|
| 23 |
+
## Setup Instructions
|
| 24 |
+
|
| 25 |
+
This Space requires only two files:
|
| 26 |
+
|
| 27 |
+
- `app.py`: Contains the Gradio interface and model logic
|
| 28 |
+
- `requirements.txt`: Lists required Python packages
|
| 29 |
+
|
| 30 |
+
No HTML, CSS, or JavaScript files are needed.
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
1. Upload `app.py` and `requirements.txt` to your Hugging Face Space.
|
| 35 |
+
2. Hugging Face will automatically detect Gradio and launch the app.
|
| 36 |
+
3. Use the input box and radio buttons to analyze content.
|
| 37 |
+
|
| 38 |
+
## Requirements
|