multimodalart HF staff commited on
Commit
c671c40
1 Parent(s): 4c4a4b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -398,6 +398,8 @@ css = '''
398
  #progress .generating{display:none}
399
  .progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
400
  .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
 
 
401
  '''
402
 
403
  with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
@@ -411,7 +413,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
411
  prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Type a prompt after selecting a LoRA")
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)
417
  with gr.Column(scale=8):
 
398
  #progress .generating{display:none}
399
  .progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
400
  .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
401
+ button{height: 100%}
402
+ #loaded_loras [data-testid="block-info"]{font-size:80%}
403
  '''
404
 
405
  with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
 
413
  prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Type a prompt after selecting a LoRA")
414
  with gr.Column(scale=1):
415
  generate_button = gr.Button("Generate", variant="primary")
416
+ with gr.Row(elem_id="loaded_loras"):
417
  with gr.Column(scale=1, min_width=25):
418
  randomize_button = gr.Button("🎲", variant="secondary", scale=1)
419
  with gr.Column(scale=8):