JohnSmith9982 commited on
Commit
a396ed2
1 Parent(s): afcdb68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -215,6 +215,7 @@ with gr.Blocks(
215
  gr.Markdown(description)
216
 
217
  keyTxt.submit(submit_key, keyTxt, [user_api_key, status_display])
 
218
  # Chatbot
219
  user_input.submit(
220
  predict,
 
215
  gr.Markdown(description)
216
 
217
  keyTxt.submit(submit_key, keyTxt, [user_api_key, status_display])
218
+ keyTxt.change(submit_key, keyTxt, [user_api_key, status_display])
219
  # Chatbot
220
  user_input.submit(
221
  predict,