JohnSmith9982 commited on
Commit
9dbf614
1 Parent(s): f787298

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -342,6 +342,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
342
 
343
  # ChatGPT
344
  keyTxt.change(submit_key, keyTxt, [user_api_key, status_display]).then(**get_usage_args)
 
345
 
346
  # Template
347
  templateRefreshBtn.click(get_template_names, None, [templateFileSelectDropdown])
 
342
 
343
  # ChatGPT
344
  keyTxt.change(submit_key, keyTxt, [user_api_key, status_display]).then(**get_usage_args)
345
+ keyTxt.submit(**get_usage_args)
346
 
347
  # Template
348
  templateRefreshBtn.click(get_template_names, None, [templateFileSelectDropdown])