Menyu commited on
Commit
b1e93a3
·
verified ·
1 Parent(s): 1d1bf5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(css=css) as demo:
143
  )
144
 
145
  gr.on(
146
- triggers=[prompt.submit,negative_prompt.submit],
147
  fn=infer,
148
  inputs=[
149
  prompt,
 
143
  )
144
 
145
  gr.on(
146
+ triggers=[prompt.submit,negative_prompt.submit,run_button.click],
147
  fn=infer,
148
  inputs=[
149
  prompt,