linoyts HF Staff commited on
Commit
f52eda4
·
verified ·
1 Parent(s): 76ca2a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -234,7 +234,7 @@ scheduler_config = {
234
  scheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)
235
 
236
  # Load the model pipeline
237
- pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509",
238
  scheduler=scheduler,
239
  torch_dtype=dtype).to(device)
240
  pipe.load_lora_weights(
@@ -370,7 +370,7 @@ with gr.Blocks(css=css) as demo:
370
  """)
371
  gr.Markdown("""
372
  [Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series.
373
- This demo uses the new [Qwen-Image-Edit-2509](https://huggingface.co/Qwen/Qwen-Image-Edit-2509) with the [Qwen-Image-Lightning v2](https://huggingface.co/lightx2v/Qwen-Image-Lightning) LoRA + [AoT compilation & FA3](https://huggingface.co/blog/zerogpu-aoti) for accelerated inference.
374
  Try on [Qwen Chat](https://chat.qwen.ai/), or [download model](https://huggingface.co/Qwen/Qwen-Image-Edit-2509) to run locally with ComfyUI or diffusers.
375
  """)
376
  with gr.Row():
 
234
  scheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)
235
 
236
  # Load the model pipeline
237
+ pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511",
238
  scheduler=scheduler,
239
  torch_dtype=dtype).to(device)
240
  pipe.load_lora_weights(
 
370
  """)
371
  gr.Markdown("""
372
  [Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series.
373
+ This demo uses the new [Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) with the [Qwen-Image-Lightning v2](https://huggingface.co/lightx2v/Qwen-Image-Lightning) LoRA + [AoT compilation & FA3](https://huggingface.co/blog/zerogpu-aoti) for accelerated inference.
374
  Try on [Qwen Chat](https://chat.qwen.ai/), or [download model](https://huggingface.co/Qwen/Qwen-Image-Edit-2509) to run locally with ComfyUI or diffusers.
375
  """)
376
  with gr.Row():