Spaces:
Sleeping
Sleeping
Update README.md
#3
by sohaibdevv - opened
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: Sketch To Photo AI
|
| 3 |
emoji: π
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.10.0
|
|
@@ -10,4 +10,15 @@ pinned: false
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
title: Sketch To Photo AI
|
| 3 |
emoji: π
|
| 4 |
+
colorFrom: green
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.10.0
|
|
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Sketch-to-Photo AI
|
| 14 |
+
This project uses **ControlNet (Scribble)** and Stable Diffusion to transform hand-drawn sketches into realistic photographic images.
|
| 15 |
+
|
| 16 |
+
### Tech Used
|
| 17 |
+
- **Model:** `sd-controlnet-scribble`
|
| 18 |
+
- **API:** Hugging Face Inference API (Serverless)
|
| 19 |
+
- **UI:** Gradio Blocks
|
| 20 |
+
|
| 21 |
+
### How it works
|
| 22 |
+
ControlNet adds a "spatial map" to the diffusion process. Instead of the AI guessing where objects should go based only on text, it uses the lines of your sketch as a structural guide, ensuring the output matches your original drawing perfectly.
|
| 23 |
+
|
| 24 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|