Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -275,6 +275,11 @@ def update_dimensions_on_upload(image):
|
|
| 275 |
with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
| 276 |
with gr.Column(elem_id="col-container"):
|
| 277 |
gr.Markdown("## 💡 Qwen Image Edit — Relighting Control")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 278 |
with gr.Row():
|
| 279 |
with gr.Column():
|
| 280 |
image = gr.Image(label="Input Image", type="pil")
|
|
@@ -441,8 +446,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 441 |
for control in [light_type, light_direction, light_intensity]:
|
| 442 |
control.input(fn=maybe_infer, inputs=control_inputs_with_flag, outputs=outputs + [create_video_button])
|
| 443 |
|
| 444 |
-
# prompt.change(fn=maybe_infer, inputs=control_inputs_with_flag, outputs=outputs + [create_video_button])
|
| 445 |
-
|
| 446 |
run_event.then(lambda img, *_: img, inputs=[result], outputs=[prev_output])
|
| 447 |
|
| 448 |
demo.launch()
|
|
|
|
| 275 |
with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
| 276 |
with gr.Column(elem_id="col-container"):
|
| 277 |
gr.Markdown("## 💡 Qwen Image Edit — Relighting Control")
|
| 278 |
+
gr.Markdown("""
|
| 279 |
+
Qwen Image Edit 2509 for Image Relighting ✨
|
| 280 |
+
Using [dx8152's Qwen-Image-Edit-2509-Relight LoRA](https://huggingface.co/dx8152/Qwen-Image-Edit-2509-Relight) and [linoyts/Qwen-Image-Edit-Rapid-AIO](https://huggingface.co/linoyts/Qwen-Image-Edit-Rapid-AIO) for 4-step inference 💨
|
| 281 |
+
"""
|
| 282 |
+
)
|
| 283 |
with gr.Row():
|
| 284 |
with gr.Column():
|
| 285 |
image = gr.Image(label="Input Image", type="pil")
|
|
|
|
| 446 |
for control in [light_type, light_direction, light_intensity]:
|
| 447 |
control.input(fn=maybe_infer, inputs=control_inputs_with_flag, outputs=outputs + [create_video_button])
|
| 448 |
|
|
|
|
|
|
|
| 449 |
run_event.then(lambda img, *_: img, inputs=[result], outputs=[prev_output])
|
| 450 |
|
| 451 |
demo.launch()
|