Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,12 @@
|
|
| 4 |
|
| 5 |
Upload an image, type an edit instruction ("make it a snowy winter scene", "turn
|
| 6 |
the car red", "add sunglasses"), and get the edited photo back. The whole app is
|
| 7 |
-
a single `model` operator calling `
|
| 8 |
Hugging Face Inference Providers — no client code, no API wiring.
|
| 9 |
|
| 10 |
Graph:
|
| 11 |
[Image] ─┐
|
| 12 |
-
├─▶ (model)
|
| 13 |
[Edit instruction] ─┘
|
| 14 |
|
| 15 |
Why a plain `model` node works here: the `image_to_image` endpoint schema is
|
|
|
|
| 4 |
|
| 5 |
Upload an image, type an edit instruction ("make it a snowy winter scene", "turn
|
| 6 |
the car red", "add sunglasses"), and get the edited photo back. The whole app is
|
| 7 |
+
a single `model` operator calling `Qwen/Qwen-Image-Edit` on
|
| 8 |
Hugging Face Inference Providers — no client code, no API wiring.
|
| 9 |
|
| 10 |
Graph:
|
| 11 |
[Image] ─┐
|
| 12 |
+
├─▶ (model) Qwen/Qwen-Image-Edit (image_to_image) ─▶ 🖼️ Edited image
|
| 13 |
[Edit instruction] ─┘
|
| 14 |
|
| 15 |
Why a plain `model` node works here: the `image_to_image` endpoint schema is
|