Spaces:
Configuration error
Configuration error
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Ultra-Realistic Face Swap (DFL-Style)
|
| 3 |
+
emoji: 🧠
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
python_version: "3.11"
|
| 8 |
+
sdk_version: "3.40"
|
| 9 |
+
app_file: app.py
|
| 10 |
+
suggested_hardware: l4x1
|
| 11 |
+
suggested_storage: medium
|
| 12 |
+
fullWidth: true
|
| 13 |
+
short_description: Photorealistic face swap with strict identity preservation.
|
| 14 |
+
tags:
|
| 15 |
+
- face-swap
|
| 16 |
+
- photorealistic
|
| 17 |
+
- deepfacelab
|
| 18 |
+
- identity
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## Ultra-Realistic Face Swap
|
| 22 |
+
|
| 23 |
+
This Space performs **DeepFaceLab-style face swapping** using:
|
| 24 |
+
|
| 25 |
+
- Shape-aware facial alignment via `face-alignment` (2D)
|
| 26 |
+
- Identity-preserving autoencoder logic via `insightface`
|
| 27 |
+
- Poisson blending + LAB color histogram matching
|
| 28 |
+
- Similarity-gated retry to maintain ≥0.94 identity similarity
|
| 29 |
+
|
| 30 |
+
### Notes
|
| 31 |
+
- **Inference only**. Training must be done offline.
|
| 32 |
+
- Output is **pure 2D photorealistic**.
|
| 33 |
+
- No AI/3D/animated artifacts.
|