killwithabass commited on
Commit
b220271
·
verified ·
1 Parent(s): b1401d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -121,18 +121,19 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
121
  with gr.Row():
122
  with gr.Column(scale=3):
123
  selected_info = gr.Markdown("")
124
- gallery = gr.Gallery(
125
- [(item["image"], item["title"]) for item in loras],
126
- label="LoRA Gallery",
127
- allow_preview=False,
128
- columns=3
129
- )
 
130
 
131
  with gr.Column(scale=4):
132
  result = gr.Image(label="Generated Image")
133
 
134
  with gr.Row():
135
- with gr.Accordion("Advanced Settings", open=False):
136
  with gr.Column():
137
  with gr.Row():
138
  cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
 
121
  with gr.Row():
122
  with gr.Column(scale=3):
123
  selected_info = gr.Markdown("")
124
+ with gr.Accordion("LoRA Gallery", open=True):
125
+ gallery = gr.Gallery(
126
+ [(item["image"], item["title"]) for item in loras],
127
+ label="LoRAs",
128
+ allow_preview=False,
129
+ columns=3
130
+ )
131
 
132
  with gr.Column(scale=4):
133
  result = gr.Image(label="Generated Image")
134
 
135
  with gr.Row():
136
+ with gr.Accordion("Advanced Settings", open=True):
137
  with gr.Column():
138
  with gr.Row():
139
  cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)