Update app.py
Browse files
app.py
CHANGED
@@ -461,17 +461,11 @@ css = '''
|
|
461 |
#custom_lora_btn{margin-top: auto;margin-bottom: 11px}
|
462 |
#random_btn{font-size: 300%}
|
463 |
#component-11{align-self: stretch;}
|
|
|
464 |
'''
|
465 |
|
466 |
-
with gr.Blocks(css=css, delete_cache=(60, 3600)) as app:
|
467 |
-
|
468 |
-
"""<h1><img src="https://i.imgur.com/wMh2Oek.png" alt="LoRA"> LoRA Lab [beta]</h1><br><span style="
|
469 |
-
margin-top: -25px !important;
|
470 |
-
display: block;
|
471 |
-
margin-left: 37px;
|
472 |
-
">Mix and match any FLUX[dev] LoRAs</span>""",
|
473 |
-
elem_id="title",
|
474 |
-
)
|
475 |
loras_state = gr.State(loras)
|
476 |
selected_indices = gr.State([])
|
477 |
with gr.Row():
|
@@ -514,7 +508,7 @@ with gr.Blocks(css=css, delete_cache=(60, 3600)) as app:
|
|
514 |
[(item["image"], item["title"]) for item in loras],
|
515 |
label="Or pick from the LoRA Explorer gallery",
|
516 |
allow_preview=False,
|
517 |
-
columns=
|
518 |
elem_id="gallery"
|
519 |
)
|
520 |
with gr.Column():
|
|
|
461 |
#custom_lora_btn{margin-top: auto;margin-bottom: 11px}
|
462 |
#random_btn{font-size: 300%}
|
463 |
#component-11{align-self: stretch;}
|
464 |
+
footer {visibility: hidden;}
|
465 |
'''
|
466 |
|
467 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css, delete_cache=(60, 3600)) as app:
|
468 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
loras_state = gr.State(loras)
|
470 |
selected_indices = gr.State([])
|
471 |
with gr.Row():
|
|
|
508 |
[(item["image"], item["title"]) for item in loras],
|
509 |
label="Or pick from the LoRA Explorer gallery",
|
510 |
allow_preview=False,
|
511 |
+
columns=4,
|
512 |
elem_id="gallery"
|
513 |
)
|
514 |
with gr.Column():
|