fffiloni commited on
Commit
838f64e
1 Parent(s): c925a3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1668,7 +1668,7 @@ if __name__ == "__main__":
1668
  )
1669
  print(images)
1670
 
1671
- return images[0]
1672
 
1673
  css = """
1674
  #col-container{
@@ -1727,7 +1727,7 @@ if __name__ == "__main__":
1727
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42)
1728
  use_progressive_upscaling = gr.Checkbox(label="use_progressive_upscaling", value=False)
1729
 
1730
- output_images = gr.Image(label="Output Image", format="png")
1731
  gr.Examples(
1732
  examples = [
1733
  ["Astronaut on Mars during sunset."],
 
1668
  )
1669
  print(images)
1670
 
1671
+ return images
1672
 
1673
  css = """
1674
  #col-container{
 
1727
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42)
1728
  use_progressive_upscaling = gr.Checkbox(label="use_progressive_upscaling", value=False)
1729
 
1730
+ output_images = gr.Gallery(label="Output Image", format="png")
1731
  gr.Examples(
1732
  examples = [
1733
  ["Astronaut on Mars during sunset."],