Dekonstruktio commited on
Commit
a01cbe9
·
verified ·
1 Parent(s): d44a998

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -253,7 +253,7 @@ css="""
253
 
254
  with gr.Blocks() as demo:
255
  with gr.Column(elem_id="col-container"):
256
- gr.Markdown("# **Qwen-Image-Edit-2509-LoRAs-Fast-Fusion**", elem_id="main-title")
257
  gr.Markdown("Perform diverse image edits using specialized [LoRA](https://huggingface.co/models?other=base_model:adapter:Qwen/Qwen-Image-Edit-2509) adapters for the [Qwen-Image-Edit](https://huggingface.co/Qwen/Qwen-Image-Edit-2509) model.")
258
  with gr.Row(equal_height=True):
259
 
@@ -265,7 +265,7 @@ with gr.Blocks() as demo:
265
  prompt = gr.Text(
266
  label="Edit Prompt",
267
  show_label=True,
268
- placeholder="Mix",
269
  )
270
 
271
  run_button = gr.Button("Edit Image", variant="primary")
@@ -273,8 +273,8 @@ with gr.Blocks() as demo:
273
  with gr.Accordion("Advanced Settings", open=True, visible=True):
274
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
275
  randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
276
- guidance_scale = gr.Slider(label="True Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
277
- steps = gr.Slider(label="Inference Steps", minimum=1, maximum=50, step=1, value=4)
278
 
279
  with gr.Column(scale=1):
280
  output_image = gr.Image(label="Output Image", interactive=False, format="png", height=350)
@@ -283,7 +283,7 @@ with gr.Blocks() as demo:
283
  lora_adapter = gr.Dropdown(
284
  label="Choose Editing Style",
285
  choices=["Texture Edit", "Cloth-Design-Fuse", "Fuse-Objects", "Super-Fusion", "Light-Migration", "Material-Transfer"],
286
- value="Texture Edit",
287
  )
288
 
289
  gr.Examples(
 
253
 
254
  with gr.Blocks() as demo:
255
  with gr.Column(elem_id="col-container"):
256
+ gr.Markdown(" ", elem_id="main-title")
257
  gr.Markdown("Perform diverse image edits using specialized [LoRA](https://huggingface.co/models?other=base_model:adapter:Qwen/Qwen-Image-Edit-2509) adapters for the [Qwen-Image-Edit](https://huggingface.co/Qwen/Qwen-Image-Edit-2509) model.")
258
  with gr.Row(equal_height=True):
259
 
 
265
  prompt = gr.Text(
266
  label="Edit Prompt",
267
  show_label=True,
268
+ placeholder="Mix.",
269
  )
270
 
271
  run_button = gr.Button("Edit Image", variant="primary")
 
273
  with gr.Accordion("Advanced Settings", open=True, visible=True):
274
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
275
  randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
276
+ guidance_scale = gr.Slider(label="True Guidance Scale", minimum=1, maximum=10, step=1, value=1)
277
+ steps = gr.Slider(label="Inference Steps", minimum=1, maximum=50, step=1, value=50)
278
 
279
  with gr.Column(scale=1):
280
  output_image = gr.Image(label="Output Image", interactive=False, format="png", height=350)
 
283
  lora_adapter = gr.Dropdown(
284
  label="Choose Editing Style",
285
  choices=["Texture Edit", "Cloth-Design-Fuse", "Fuse-Objects", "Super-Fusion", "Light-Migration", "Material-Transfer"],
286
+ value="Material-Transfer",
287
  )
288
 
289
  gr.Examples(