File size: 1,056 Bytes
34d8e77
 
 
 
 
 
 
 
 
d57ac0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: AI DeepFake Detector
emoji: πŸ”
colorFrom: blue
colorTo: green
sdk: gradio
app_file: app.py
pinned: false
---
# AI DeepFake & Manipulation Detector (Web App)

This project detects:
- Whether an image is **AI-generated or real**
- Whether it contains **manipulated regions**
- Highlights edited areas with a **mask overlay**

## Models Used
- Deepfake Classifier: `prithivMLmods/deepfake-detector-model-v1`
- Forgery / Manipulation Detector: `zhipeixu/fakeshield-v1-22b`

## Features
- Upload any image
- Get classification (Real vs AI)
- Fake probability (%)
- Detect manipulated objects
- View highlighted overlay

## How to Use
1. Upload your image into the interface
2. Click **Analyze**
3. View results:
   - Original Image
   - Classification + % confidence
   - Manipulation explanation
   - Mask overlay (if detected)

## Setup (Hugging Face Spaces)
- Create a Space
- Add your HF token in Settings β†’ Secrets:
  - Name: `HF_API_TOKEN`
- Upload:
  - `app.py`
  - `requirements.txt`
  - `README.md`

Your website will run automatically.