lllyasviel commited on
Commit
7c8a4c3
·
1 Parent(s): 33adbe7
Files changed (1) hide show
  1. webui.py +4 -6
webui.py CHANGED
@@ -8,12 +8,10 @@ def generate_clicked(positive_prompt):
8
 
9
  block = gr.Blocks().queue()
10
  with block:
11
- with gr.Row():
12
- with gr.Column():
13
- prompt = gr.Textbox(label="Prompt", value='a handsome man in forest')
14
- run_button = gr.Button(label="Run")
15
- with gr.Column():
16
- result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=2, height='auto')
17
  run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
18
 
19
 
 
8
 
9
  block = gr.Blocks().queue()
10
  with block:
11
+ with gr.Column():
12
+ prompt = gr.Textbox(label="Prompt", value='a handsome man in forest')
13
+ run_button = gr.Button(label="Run")
14
+ result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", height=700)
 
 
15
  run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
16
 
17