fffiloni commited on
Commit
c43b9ad
1 Parent(s): 2fe72dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1663,7 +1663,7 @@ if __name__ == "__main__":
1663
  )
1664
  print(images)
1665
 
1666
- return "done"
1667
 
1668
  css = """
1669
  #col-container{
@@ -1675,9 +1675,8 @@ if __name__ == "__main__":
1675
  with gr.Column():
1676
  gr.Markdown("# AccDiffusion")
1677
  prompt = gr.Textbox(label="Prompt")
1678
- submit_btn = gr.Button("SUbmit")
1679
- # output_images = gr.Image(format="png")
1680
- output_images = gr.Textbox()
1681
  submit_btn.click(
1682
  fn = infer,
1683
  inputs = [prompt],
 
1663
  )
1664
  print(images)
1665
 
1666
+ return images
1667
 
1668
  css = """
1669
  #col-container{
 
1675
  with gr.Column():
1676
  gr.Markdown("# AccDiffusion")
1677
  prompt = gr.Textbox(label="Prompt")
1678
+ submit_btn = gr.Button("Submit")
1679
+ output_images = gr.Gallery(format="png")
 
1680
  submit_btn.click(
1681
  fn = infer,
1682
  inputs = [prompt],