Spaces:
Runtime error
Runtime error
Commit
•
c198f03
1
Parent(s):
f073ba5
Update app.py
Browse files
app.py
CHANGED
@@ -420,16 +420,22 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
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 |
-
|
424 |
-
|
|
|
|
|
|
|
425 |
with gr.Column(scale=8):
|
426 |
with gr.Row():
|
427 |
with gr.Column(scale=0, 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 |
-
|
432 |
-
|
|
|
|
|
|
|
433 |
with gr.Row():
|
434 |
with gr.Column():
|
435 |
gallery = gr.Gallery(
|
|
|
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 |
+
with gr.Row():
|
424 |
+
with gr.Column(scale=2):
|
425 |
+
lora_scale_1 = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
|
426 |
+
with gr.Column(scale=1):
|
427 |
+
remove_button_1 = gr.Button("Remove")
|
428 |
with gr.Column(scale=8):
|
429 |
with gr.Row():
|
430 |
with gr.Column(scale=0, min_width=50):
|
431 |
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)
|
432 |
with gr.Column(scale=7):
|
433 |
selected_info_2 = gr.Markdown("Select a LoRA 2")
|
434 |
+
with gr.Row():
|
435 |
+
with gr.Column(scale=2):
|
436 |
+
lora_scale_2 = gr.Slider(label="LoRA 2 Scale", minimum=0, maximum=3, step=0.01, value=0.95)
|
437 |
+
with gr.Column(scale=1):
|
438 |
+
remove_button_2 = gr.Button("Remove")
|
439 |
with gr.Row():
|
440 |
with gr.Column():
|
441 |
gallery = gr.Gallery(
|