gokaygokay commited on
Commit
93279b2
1 Parent(s): b7f57cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -187,8 +187,10 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
187
  use_florence2 = gr.Checkbox(label="Use Florence-2 Captioner", value=False)
188
  use_medium_enhancer = gr.Checkbox(label="Use Medium Prompt Enhancer", value=False)
189
  use_long_enhancer = gr.Checkbox(label="Use Long Prompt Enhancer", value=False)
 
 
190
 
191
- with gr.Accordion("Prefix and Suffix Settings", open=False):
192
  use_positive_prefix = gr.Checkbox(
193
  label="Use Positive Prefix",
194
  value=True,
@@ -210,7 +212,7 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
210
  info=f"Suffix: {DEFAULT_NEGATIVE_SUFFIX}"
211
  )
212
 
213
- generate_btn = gr.Button("Generate Image")
214
 
215
  with gr.Column(scale=1):
216
  output_gallery = gr.Gallery(label="Result", elem_id="gallery", show_label=False)
 
187
  use_florence2 = gr.Checkbox(label="Use Florence-2 Captioner", value=False)
188
  use_medium_enhancer = gr.Checkbox(label="Use Medium Prompt Enhancer", value=False)
189
  use_long_enhancer = gr.Checkbox(label="Use Long Prompt Enhancer", value=False)
190
+
191
+ generate_btn = gr.Button("Generate Image")
192
 
193
+ with gr.Accordion("Prefix and Suffix Settings", open=True):
194
  use_positive_prefix = gr.Checkbox(
195
  label="Use Positive Prefix",
196
  value=True,
 
212
  info=f"Suffix: {DEFAULT_NEGATIVE_SUFFIX}"
213
  )
214
 
215
+
216
 
217
  with gr.Column(scale=1):
218
  output_gallery = gr.Gallery(label="Result", elem_id="gallery", show_label=False)