Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
3b5f4d4
1
Parent(s):
bc76095
Update app.py
Browse files
app.py
CHANGED
@@ -448,6 +448,7 @@ css = '''
|
|
448 |
#loaded_loras [data-testid="block-info"]{font-size:80%}
|
449 |
#custom_lora_structure{background: var(--block-background-fill)}
|
450 |
#custom_lora_btn{margin-top: auto;margin-bottom: 11px}
|
|
|
451 |
'''
|
452 |
|
453 |
with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
@@ -463,7 +464,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
463 |
generate_button = gr.Button("Generate", variant="primary", elem_classes=["button_total"])
|
464 |
with gr.Row(elem_id="loaded_loras"):
|
465 |
with gr.Column(scale=1, min_width=25):
|
466 |
-
randomize_button = gr.Button("🎲", variant="secondary", scale=1)
|
467 |
with gr.Column(scale=8):
|
468 |
with gr.Row():
|
469 |
with gr.Column(scale=0, min_width=50):
|
|
|
448 |
#loaded_loras [data-testid="block-info"]{font-size:80%}
|
449 |
#custom_lora_structure{background: var(--block-background-fill)}
|
450 |
#custom_lora_btn{margin-top: auto;margin-bottom: 11px}
|
451 |
+
#random_btn{font-size: 300%}
|
452 |
'''
|
453 |
|
454 |
with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
|
464 |
generate_button = gr.Button("Generate", variant="primary", elem_classes=["button_total"])
|
465 |
with gr.Row(elem_id="loaded_loras"):
|
466 |
with gr.Column(scale=1, min_width=25):
|
467 |
+
randomize_button = gr.Button("🎲", variant="secondary", scale=1, elem_id="random_btn")
|
468 |
with gr.Column(scale=8):
|
469 |
with gr.Row():
|
470 |
with gr.Column(scale=0, min_width=50):
|