ehristoforu commited on
Commit
d6d99c2
1 Parent(s): f2e9ef7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,8 +67,8 @@ with gr.Blocks(css=css) as demo:
67
  with gr.Row():
68
  width = gr.Slider(label="Width", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
69
  height = gr.Slider(label="Height", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
70
- with gr.Row()
71
- gallery = gr.Gallery(show_label=False, rows=1, columns=1)
72
 
73
  button.click(gen, inputs=[prompt, negative, width, height], outputs=gallery)
74
 
 
67
  with gr.Row():
68
  width = gr.Slider(label="Width", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
69
  height = gr.Slider(label="Height", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
70
+ with gr.Row():
71
+ gallery = gr.Gallery(show_label=False, rows=1, columns=1, allow_preview=True, preview=True)
72
 
73
  button.click(gen, inputs=[prompt, negative, width, height], outputs=gallery)
74