clementchadebec commited on
Commit
d424d18
1 Parent(s): c712159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ with gr.Blocks(css=css) as demo:
140
  "This demo is only for research purpose. Jasper cannot be held responsible for the generation of NSFW (Not Safe For Work) content through the use of this demo. Users are solely responsible for any content they create, and it is their obligation to ensure that it adheres to appropriate and ethical standards. Jasper provides the tools, but the responsibility for their use lies with the individual user."
141
  )
142
  gr.on(
143
- [run_button.click, seed.change, prompt.change, randomize_seed.change],
144
  fn=infer,
145
  inputs=[prompt, seed, randomize_seed],
146
  outputs=[result],
 
140
  "This demo is only for research purpose. Jasper cannot be held responsible for the generation of NSFW (Not Safe For Work) content through the use of this demo. Users are solely responsible for any content they create, and it is their obligation to ensure that it adheres to appropriate and ethical standards. Jasper provides the tools, but the responsibility for their use lies with the individual user."
141
  )
142
  gr.on(
143
+ [run_button.click, seed.change, randomize_seed.change, prompt.submit],
144
  fn=infer,
145
  inputs=[prompt, seed, randomize_seed],
146
  outputs=[result],