Yuxuan Zhang commited on
Commit
f951c72
·
1 Parent(s): 152c7d3
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -173,15 +173,13 @@ with gr.Blocks() as demo:
173
  outputs=[prompt]
174
  )
175
  run_button = gr.Button("Run", scale=1)
176
- result = gr.Image(label="Result", show_label=False)
177
-
178
  num_images = gr.Radio(
179
  choices=[1, 2, 4],
180
  label="Number of Images",
181
  value=1
182
  )
183
- result = gr.Gallery(label="Results", show_label=True, columns=2, rows=2)
184
 
 
185
  MAX_PIXELS = 2 ** 21
186
 
187
  def update_max_height(width):
 
173
  outputs=[prompt]
174
  )
175
  run_button = gr.Button("Run", scale=1)
 
 
176
  num_images = gr.Radio(
177
  choices=[1, 2, 4],
178
  label="Number of Images",
179
  value=1
180
  )
 
181
 
182
+ result = gr.Gallery(label="Results", show_label=True, columns=2, rows=2)
183
  MAX_PIXELS = 2 ** 21
184
 
185
  def update_max_height(width):