Spaces:
Running on Zero
Running on Zero
update app
Browse files
app.py
CHANGED
|
@@ -121,10 +121,10 @@ ADAPTER_SPECS = {
|
|
| 121 |
"weights": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
|
| 122 |
"adapter_name": "photo-to-anime"
|
| 123 |
},
|
| 124 |
-
"
|
| 125 |
-
"repo": "
|
| 126 |
-
"weights": "
|
| 127 |
-
"adapter_name": "
|
| 128 |
},
|
| 129 |
"Light-Migration": {
|
| 130 |
"repo": "dx8152/Qwen-Edit-2509-Light-Migration",
|
|
@@ -146,6 +146,11 @@ ADAPTER_SPECS = {
|
|
| 146 |
"weights": "tone001.safetensors",
|
| 147 |
"adapter_name": "manga-tone"
|
| 148 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
}
|
| 150 |
|
| 151 |
LOADED_ADAPTERS = set()
|
|
@@ -335,8 +340,9 @@ with gr.Blocks() as demo:
|
|
| 335 |
[["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
|
| 336 |
[["examples/MT.jpg"], "Paint with manga tone.", "Manga-Tone"],
|
| 337 |
[["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
|
|
|
|
| 338 |
[["examples/L1.jpg", "examples/L2.jpg"], "Refer to the color tone, remove the original lighting from Image 1, and relight Image 1 based on the lighting and color tone of Image 2.", "Light-Migration"],
|
| 339 |
-
[["examples/P1.jpg"
|
| 340 |
],
|
| 341 |
inputs=[images, prompt, lora_adapter],
|
| 342 |
outputs=[output_image, seed],
|
|
|
|
| 121 |
"weights": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
|
| 122 |
"adapter_name": "photo-to-anime"
|
| 123 |
},
|
| 124 |
+
"Anime-V2": {
|
| 125 |
+
"repo": "prithivMLmods/Qwen-Image-Edit-2511-Anime",
|
| 126 |
+
"weights": "Qwen-Image-Edit-2511-Anime-2000.safetensors",
|
| 127 |
+
"adapter_name": "anime-v2"
|
| 128 |
},
|
| 129 |
"Light-Migration": {
|
| 130 |
"repo": "dx8152/Qwen-Edit-2509-Light-Migration",
|
|
|
|
| 146 |
"weights": "tone001.safetensors",
|
| 147 |
"adapter_name": "manga-tone"
|
| 148 |
},
|
| 149 |
+
"Anything2Real": {
|
| 150 |
+
"repo": "lrzjason/Anything2Real_2601",
|
| 151 |
+
"weights": "anything2real_2601_A_final.safetensors",
|
| 152 |
+
"adapter_name": "anything2real"
|
| 153 |
+
},
|
| 154 |
}
|
| 155 |
|
| 156 |
LOADED_ADAPTERS = set()
|
|
|
|
| 340 |
[["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
|
| 341 |
[["examples/MT.jpg"], "Paint with manga tone.", "Manga-Tone"],
|
| 342 |
[["examples/ST1.jpg", "examples/ST2.jpg"], "Convert Image 1 to the style of Image 2.", "Style-Transfer"],
|
| 343 |
+
[["examples/R1.jpg"], "Change the picture to realistic photograph.", "Anything2Real"],
|
| 344 |
[["examples/L1.jpg", "examples/L2.jpg"], "Refer to the color tone, remove the original lighting from Image 1, and relight Image 1 based on the lighting and color tone of Image 2.", "Light-Migration"],
|
| 345 |
+
[["examples/P1.jpg"], "Transform into anime (while preserving the background and remaining elements maintaining realism and original details.)", "Anime-V2"],
|
| 346 |
],
|
| 347 |
inputs=[images, prompt, lora_adapter],
|
| 348 |
outputs=[output_image, seed],
|