Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -131,6 +131,11 @@ ADAPTER_SPECS = {
|
|
| 131 |
"weights": "εθθ²θ°.safetensors",
|
| 132 |
"adapter_name": "light-migration"
|
| 133 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
}
|
| 135 |
|
| 136 |
LOADED_ADAPTERS = set()
|
|
@@ -317,6 +322,7 @@ with gr.Blocks() as demo:
|
|
| 317 |
examples=[
|
| 318 |
[["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
|
| 319 |
[["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
|
|
|
|
| 320 |
[["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"],
|
| 321 |
[["examples/P1.jpg", "examples/P2.jpg"], "Make the person in image 1 do the exact same pose of the person in image 2. Changing the style and background of the image of the person in image 1 is undesirable, so don't do it.", "Any-Pose"],
|
| 322 |
],
|
|
@@ -327,7 +333,7 @@ with gr.Blocks() as demo:
|
|
| 327 |
label="Examples"
|
| 328 |
)
|
| 329 |
|
| 330 |
-
gr.Markdown("
|
| 331 |
|
| 332 |
run_button.click(
|
| 333 |
fn=infer,
|
|
|
|
| 131 |
"weights": "εθθ²θ°.safetensors",
|
| 132 |
"adapter_name": "light-migration"
|
| 133 |
},
|
| 134 |
+
"Upscaler": {
|
| 135 |
+
"repo": "starsfriday/Qwen-Image-Edit-2511-Upscale2K",
|
| 136 |
+
"weights": "qwen_image_edit_2511_upscale.safetensors",
|
| 137 |
+
"adapter_name": "upscale-2k"
|
| 138 |
+
},
|
| 139 |
}
|
| 140 |
|
| 141 |
LOADED_ADAPTERS = set()
|
|
|
|
| 322 |
examples=[
|
| 323 |
[["examples/B.jpg"], "Transform into anime.", "Photo-to-Anime"],
|
| 324 |
[["examples/A.jpeg"], "Rotate the camera 45 degrees to the right.", "Multiple-Angles"],
|
| 325 |
+
[["examples/U.jpg"], "Upscale this picture to 4K resolution.", "Upscaler"],
|
| 326 |
[["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"],
|
| 327 |
[["examples/P1.jpg", "examples/P2.jpg"], "Make the person in image 1 do the exact same pose of the person in image 2. Changing the style and background of the image of the person in image 1 is undesirable, so don't do it.", "Any-Pose"],
|
| 328 |
],
|
|
|
|
| 333 |
label="Examples"
|
| 334 |
)
|
| 335 |
|
| 336 |
+
gr.Markdown("[*](https://huggingface.co/spaces/prithivMLmods/Qwen-Image-Edit-2511-LoRAs-Fast)This is still an experimental Space for Qwen-Image-Edit-2511.")
|
| 337 |
|
| 338 |
run_button.click(
|
| 339 |
fn=infer,
|