multimodalart HF staff commited on
Commit
fc70300
β€’
1 Parent(s): 49ad6a5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -206,7 +206,7 @@ with gr.Blocks(css=css) as app:
206
  share_button = gr.Button("Share to community", elem_id="share-btn")
207
 
208
  history = show_gallery_history()
209
- prompt.click(
210
  check_inputs,
211
  inputs=[prompt, control_image],
212
  queue=False
 
206
  share_button = gr.Button("Share to community", elem_id="share-btn")
207
 
208
  history = show_gallery_history()
209
+ prompt.submit(
210
  check_inputs,
211
  inputs=[prompt, control_image],
212
  queue=False