Spaces:
Running
on
Zero
Running
on
Zero
Update Gradio app with multiple files
Browse files
app.py
CHANGED
|
@@ -29,8 +29,8 @@ pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509",
|
|
| 29 |
torch_dtype=dtype,
|
| 30 |
device_map='cuda'),torch_dtype=dtype).to(device)
|
| 31 |
|
| 32 |
-
pipe.load_lora_weights("
|
| 33 |
-
weight_name="
|
| 34 |
adapter_name="anime")
|
| 35 |
pipe.set_adapters(["anime"], adapter_weights=[1.])
|
| 36 |
pipe.fuse_lora(adapter_names=["anime"], lora_scale=1.0)
|
|
@@ -177,7 +177,7 @@ def update_dimensions_on_upload(image):
|
|
| 177 |
|
| 178 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
| 179 |
with gr.Column(elem_id="col-container"):
|
| 180 |
-
gr.Markdown("#
|
| 181 |
gr.Markdown(
|
| 182 |
"""
|
| 183 |
Transform your photos into beautiful anime-style images ✨
|
|
|
|
| 29 |
torch_dtype=dtype,
|
| 30 |
device_map='cuda'),torch_dtype=dtype).to(device)
|
| 31 |
|
| 32 |
+
pipe.load_lora_weights("eigen-ai-labs/eigen-banana-qwen-image-edit",
|
| 33 |
+
weight_name="eigen-banana-qwen-image-edit-fp16-lora.safetensors",
|
| 34 |
adapter_name="anime")
|
| 35 |
pipe.set_adapters(["anime"], adapter_weights=[1.])
|
| 36 |
pipe.fuse_lora(adapter_names=["anime"], lora_scale=1.0)
|
|
|
|
| 177 |
|
| 178 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
| 179 |
with gr.Column(elem_id="col-container"):
|
| 180 |
+
gr.Markdown("# Eigen-Banana-Qwen-Image-Edit: Fast Image Editing with Qwen-Image-Edit LoRA", elem_id="title")
|
| 181 |
gr.Markdown(
|
| 182 |
"""
|
| 183 |
Transform your photos into beautiful anime-style images ✨
|