multimodalart HF staff commited on
Commit
7238fe3
1 Parent(s): 0257a93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -376,12 +376,14 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
376
  generate_button = gr.Button("Generate", variant="primary", elem_id="gen_btn")
377
  randomize_button = gr.Button("🎲", variant="secondary")
378
  with gr.Row():
379
- selected_info_1 = gr.Markdown("")
380
- lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
381
- remove_button_1 = gr.Button("Remove LoRA 1")
382
- selected_info_2 = gr.Markdown("")
383
- lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
384
- remove_button_2 = gr.Button("Remove LoRA 2")
 
 
385
  with gr.Row():
386
  with gr.Column():
387
  gallery = gr.Gallery(
 
376
  generate_button = gr.Button("Generate", variant="primary", elem_id="gen_btn")
377
  randomize_button = gr.Button("🎲", variant="secondary")
378
  with gr.Row():
379
+ with gr.Column():
380
+ selected_info_1 = gr.Markdown("Select a LoRA 1")
381
+ lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
382
+ remove_button_1 = gr.Button("Remove LoRA 1")
383
+ with gr.Column():
384
+ selected_info_2 = gr.Markdown("Select a LoRA 2")
385
+ lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
386
+ remove_button_2 = gr.Button("Remove LoRA 2")
387
  with gr.Row():
388
  with gr.Column():
389
  gallery = gr.Gallery(