Spaces:
Paused
Paused
Commit
•
e96451d
1
Parent(s):
d61b660
Update app.py
Browse files
app.py
CHANGED
@@ -412,13 +412,13 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
412 |
with gr.Column(scale=1):
|
413 |
generate_button = gr.Button("Generate", variant="primary")
|
414 |
with gr.Row():
|
415 |
-
with gr.Column(scale=1):
|
416 |
-
randomize_button = gr.Button("🎲", variant="secondary", scale=1)
|
417 |
-
with gr.Column(scale=
|
418 |
with gr.Row():
|
419 |
with gr.Column(scale=1, min_width=50):
|
420 |
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)
|
421 |
-
with gr.Column(scale=
|
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")
|
@@ -426,7 +426,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
426 |
with gr.Row():
|
427 |
with gr.Column(scale=1, min_width=50):
|
428 |
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)
|
429 |
-
with gr.Column(scale=
|
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")
|
|
|
412 |
with gr.Column(scale=1):
|
413 |
generate_button = gr.Button("Generate", variant="primary")
|
414 |
with gr.Row():
|
415 |
+
with gr.Column(scale=1, min_width=25):
|
416 |
+
randomize_button = gr.Button("🎲", variant="secondary", scale=1, width=40)
|
417 |
+
with gr.Column(scale=8):
|
418 |
with gr.Row():
|
419 |
with gr.Column(scale=1, min_width=50):
|
420 |
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)
|
421 |
+
with gr.Column(scale=7):
|
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")
|
|
|
426 |
with gr.Row():
|
427 |
with gr.Column(scale=1, min_width=50):
|
428 |
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)
|
429 |
+
with gr.Column(scale=7):
|
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")
|