multimodalart HF staff commited on
Commit
61a20b7
1 Parent(s): 1f249cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -416,14 +416,18 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
416
  randomize_button = gr.Button("🎲", variant="secondary", scale=1)
417
  with gr.Column(scale=3):
418
  with gr.Row():
419
- lora_image_1 = gr.Image(label="LoRA 1 Image", interactive=False, min_width=30, width=30)
420
- selected_info_1 = gr.Markdown("Select a LoRA 1")
 
 
421
  lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
422
  remove_button_1 = gr.Button("Remove LoRA 1")
423
  with gr.Column(scale=3):
424
  with gr.Row():
425
- lora_image_2 = gr.Image(label="LoRA 2 Image", interactive=False, min_width=30, width=30)
426
- selected_info_2 = gr.Markdown("Select a LoRA 2")
 
 
427
  lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
428
  remove_button_2 = gr.Button("Remove LoRA 2")
429
  with gr.Row():
 
416
  randomize_button = gr.Button("🎲", variant="secondary", scale=1)
417
  with gr.Column(scale=3):
418
  with gr.Row():
419
+ with gr.Column(scale=1):
420
+ lora_image_1 = gr.Image(label="LoRA 1 Image", interactive=False, min_width=30, width=30)
421
+ with gr.Column(scale=5):
422
+ selected_info_1 = gr.Markdown("Select a LoRA 1")
423
  lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
424
  remove_button_1 = gr.Button("Remove LoRA 1")
425
  with gr.Column(scale=3):
426
  with gr.Row():
427
+ with gr.Column(scale=1):
428
+ lora_image_2 = gr.Image(label="LoRA 2 Image", interactive=False, min_width=30, width=30)
429
+ with gr.Column(scale=5):
430
+ selected_info_2 = gr.Markdown("Select a LoRA 2")
431
  lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
432
  remove_button_2 = gr.Button("Remove LoRA 2")
433
  with gr.Row():