Update app.py
Browse files233 unmodified lines234235236237238239240129 unmodified lines370371372373374375376233 unmodified linesscheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)# Load the model pipelinepipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509",scheduler=scheduler,torch_dtype=dtype).to(device)pipe.load_lora_weights(129 unmodified lines""")gr.Markdown("""[Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series.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.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.""")with gr.Row():233 unmodified lines234235236237238239240129 unmodified lines370371372373374375376233 unmodified linesscheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)# Load the model pipelinepipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511",scheduler=scheduler,torch_dtype=dtype).to(device)pipe.load_lora_weights(129 unmodified lines""")gr.Markdown("""[Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series.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.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.""")with gr.Row():
app.py+2-2