multimodalart HF staff commited on
Commit
32222a1
1 Parent(s): 3a0c1de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -430,9 +430,9 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
430
  with gr.Row():
431
  with gr.Column(scale=0, min_width=50):
432
  lora_image_1 = gr.Image(label="LoRA 1 Image", interactive=False, min_width=50, width=50, show_label=False, show_share_button=False, show_download_button=False, show_fullscreen_button=False, height=50)
433
- with gr.Column(scale=7):
434
  selected_info_1 = gr.Markdown("Select a LoRA 1")
435
- with gr.Column(scale=3, min_width=50):
436
  lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
437
  with gr.Row():
438
  remove_button_1 = gr.Button("Remove", size="sm")
@@ -440,13 +440,12 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
440
  with gr.Row():
441
  with gr.Column(scale=0, min_width=50):
442
  lora_image_2 = gr.Image(label="LoRA 2 Image", interactive=False, min_width=50, width=50, show_label=False, show_share_button=False, show_download_button=False, show_fullscreen_button=False, height=50)
443
- with gr.Column(scale=7):
444
  selected_info_2 = gr.Markdown("Select a LoRA 2")
445
- with gr.Row():
446
  with gr.Column(scale=2, min_width=50):
447
  lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
448
- with gr.Column(scale=1, min_width=50):
449
- remove_button_2 = gr.Button("Remove", elem_classes=["button_total"])
450
  with gr.Row():
451
  with gr.Column():
452
  gallery = gr.Gallery(
 
430
  with gr.Row():
431
  with gr.Column(scale=0, min_width=50):
432
  lora_image_1 = gr.Image(label="LoRA 1 Image", interactive=False, min_width=50, width=50, show_label=False, show_share_button=False, show_download_button=False, show_fullscreen_button=False, height=50)
433
+ with gr.Column(scale=3, min_width=100):
434
  selected_info_1 = gr.Markdown("Select a LoRA 1")
435
+ with gr.Column(scale=5, min_width=50):
436
  lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
437
  with gr.Row():
438
  remove_button_1 = gr.Button("Remove", size="sm")
 
440
  with gr.Row():
441
  with gr.Column(scale=0, min_width=50):
442
  lora_image_2 = gr.Image(label="LoRA 2 Image", interactive=False, min_width=50, width=50, show_label=False, show_share_button=False, show_download_button=False, show_fullscreen_button=False, height=50)
443
+ with gr.Column(scale=3, min_width=100):
444
  selected_info_2 = gr.Markdown("Select a LoRA 2")
 
445
  with gr.Column(scale=2, min_width=50):
446
  lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
447
+ with gr.Row():
448
+ remove_button_2 = gr.Button("Remove", size="sm")
449
  with gr.Row():
450
  with gr.Column():
451
  gallery = gr.Gallery(