Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,37 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# AI DeepFake & Manipulation Detector (Web App)
|
| 2 |
+
|
| 3 |
+
This project detects:
|
| 4 |
+
- Whether an image is **AI-generated or real**
|
| 5 |
+
- Whether it contains **manipulated regions**
|
| 6 |
+
- Highlights edited areas with a **mask overlay**
|
| 7 |
+
|
| 8 |
+
## Models Used
|
| 9 |
+
- Deepfake Classifier: `prithivMLmods/deepfake-detector-model-v1`
|
| 10 |
+
- Forgery / Manipulation Detector: `zhipeixu/fakeshield-v1-22b`
|
| 11 |
+
|
| 12 |
+
## Features
|
| 13 |
+
- Upload any image
|
| 14 |
+
- Get classification (Real vs AI)
|
| 15 |
+
- Fake probability (%)
|
| 16 |
+
- Detect manipulated objects
|
| 17 |
+
- View highlighted overlay
|
| 18 |
+
|
| 19 |
+
## How to Use
|
| 20 |
+
1. Upload your image into the interface
|
| 21 |
+
2. Click **Analyze**
|
| 22 |
+
3. View results:
|
| 23 |
+
- Original Image
|
| 24 |
+
- Classification + % confidence
|
| 25 |
+
- Manipulation explanation
|
| 26 |
+
- Mask overlay (if detected)
|
| 27 |
+
|
| 28 |
+
## Setup (Hugging Face Spaces)
|
| 29 |
+
- Create a Space
|
| 30 |
+
- Add your HF token in Settings → Secrets:
|
| 31 |
+
- Name: `HF_API_TOKEN`
|
| 32 |
+
- Upload:
|
| 33 |
+
- `app.py`
|
| 34 |
+
- `requirements.txt`
|
| 35 |
+
- `README.md`
|
| 36 |
+
|
| 37 |
+
Your website will run automatically.
|