Move past generations under the outputs

#6
by multimodalart HF staff - opened
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -213,11 +213,6 @@ with block:
213
  step=1,
214
  value=42)
215
 
216
- with gr.Group():
217
- with gr.Row():
218
- with gr.Accordion("Past generations", open=False):
219
- gr_user_history.render()
220
-
221
  with gr.Row():
222
  with gr.Group():
223
  # btn = gr.Button("Generate image", scale=0)
@@ -233,7 +228,11 @@ with block:
233
  image_2 = gr.Image(interactive=False)
234
  image_2_label = gr.Markdown("FreeU")
235
 
236
-
 
 
 
 
237
  ex = gr.Examples(examples=examples, fn=infer, inputs=[text, sd_options, seed, b1, b2, s1, s2], outputs=[image_1, image_2], cache_examples=False)
238
  ex.dataset.headers = [""]
239
 
 
213
  step=1,
214
  value=42)
215
 
 
 
 
 
 
216
  with gr.Row():
217
  with gr.Group():
218
  # btn = gr.Button("Generate image", scale=0)
 
228
  image_2 = gr.Image(interactive=False)
229
  image_2_label = gr.Markdown("FreeU")
230
 
231
+ with gr.Group():
232
+ with gr.Row():
233
+ with gr.Accordion("Past generations", open=False):
234
+ gr_user_history.render()
235
+
236
  ex = gr.Examples(examples=examples, fn=infer, inputs=[text, sd_options, seed, b1, b2, s1, s2], outputs=[image_1, image_2], cache_examples=False)
237
  ex.dataset.headers = [""]
238