ChenyangSi commited on
Commit
22e6c01
1 Parent(s): 10ce6d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -161,8 +161,8 @@ with block:
161
  ex = gr.Examples(examples=examples, fn=infer, inputs=[text, pip_sd, pip_freeu], outputs=[image_1, image_2], cache_examples=False)
162
  ex.dataset.headers = [""]
163
 
164
- # text.submit(infer, inputs=[text, pip_sd, pip_freeu], outputs=[image_1, image_2])
165
- # btn.click(infer, inputs=[text, pip_sd, pip_freeu], outputs=[image_1, image_2])
166
 
167
  block.launch()
168
  # block.queue(default_enabled=False).launch(share=False)
 
161
  ex = gr.Examples(examples=examples, fn=infer, inputs=[text, pip_sd, pip_freeu], outputs=[image_1, image_2], cache_examples=False)
162
  ex.dataset.headers = [""]
163
 
164
+ text.submit(infer, inputs=[text, pip_sd, pip_freeu], outputs=[image_1, image_2])
165
+ btn.click(infer, inputs=[text, pip_sd, pip_freeu], outputs=[image_1, image_2])
166
 
167
  block.launch()
168
  # block.queue(default_enabled=False).launch(share=False)