fffiloni commited on
Commit
b8361cc
·
verified ·
1 Parent(s): 565a2da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1661,7 +1661,7 @@ if __name__ == "__main__":
1661
  result_path=f"./output/{args.experiment_name}/{prompt}/{width}_{height}_{seed}/",
1662
  debug=args.debug, save_attention_map=args.save_attention_map, use_md_prompt=args.use_md_prompt, c=args.c
1663
  )
1664
- print images
1665
 
1666
  return "done"
1667
 
@@ -1676,7 +1676,8 @@ if __name__ == "__main__":
1676
  gr.Markdown("# AccDiffusion")
1677
  prompt = gr.Textbox(label="Prompt")
1678
  submit_btn = gr.Button("SUbmit")
1679
- output_images = gr.Image(format="png")
 
1680
  submit_btn.click(
1681
  fn = infer,
1682
  inputs = [prompt],
 
1661
  result_path=f"./output/{args.experiment_name}/{prompt}/{width}_{height}_{seed}/",
1662
  debug=args.debug, save_attention_map=args.save_attention_map, use_md_prompt=args.use_md_prompt, c=args.c
1663
  )
1664
+ print(images)
1665
 
1666
  return "done"
1667
 
 
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],