Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,28 +9,12 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
## FakeSpotter — Image Deepfake Detector
|
| 13 |
|
| 14 |
**What it does**
|
| 15 |
- Detect faces (MTCNN). If faces are found, classify **each face**; otherwise classify the **whole image**.
|
| 16 |
- Uses a vision classifier fine-tuned for deepfake detection from Hugging Face.
|
| 17 |
- **No EXIF heuristics** — purely image-based.
|
| 18 |
|
| 19 |
-
**Model**
|
| 20 |
-
- Default: `prithivMLmods/Deep-Fake-Detector-v2-Model`
|
| 21 |
-
You can swap to another HF model by editing `MODEL_ID` in `app.py`.
|
| 22 |
-
(Make sure the license allows your intended use.)
|
| 23 |
-
|
| 24 |
-
**How to run on Spaces**
|
| 25 |
-
1. Create a Space → SDK: **Gradio**, Template: **Blank**, Public.
|
| 26 |
-
2. Upload `app.py`, `requirements.txt`, `README.md` to the **repo root**.
|
| 27 |
-
3. Wait for “Running 🟢” and open the **App** tab.
|
| 28 |
-
|
| 29 |
**Notes**
|
| 30 |
-
- This is a **classroom demo**, not a forensic tool.
|
| 31 |
-
- For better robustness: constrain input size (done), and aggregate per-face scores (done).
|
| 32 |
-
- For videos, extend by sampling frames and aggregating scores.
|
| 33 |
-
|
| 34 |
-
**License**
|
| 35 |
-
- Your code: choose MIT/Apache-2.0 for simplicity.
|
| 36 |
-
- The model’s own license is defined on its HF model card — verify before production use.
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
## FakeSpotter — Image Deepfake Detector
|
| 13 |
|
| 14 |
**What it does**
|
| 15 |
- Detect faces (MTCNN). If faces are found, classify **each face**; otherwise classify the **whole image**.
|
| 16 |
- Uses a vision classifier fine-tuned for deepfake detection from Hugging Face.
|
| 17 |
- **No EXIF heuristics** — purely image-based.
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
**Notes**
|
| 20 |
+
- This is a **classroom demo**, not a forensic tool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|