Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
034aa5a
1
Parent(s):
aa50285
key输入按change触发
Browse files- ChuanhuChatbot.py +1 -0
ChuanhuChatbot.py
CHANGED
@@ -275,6 +275,7 @@ with gr.Blocks(
|
|
275 |
gr.Markdown(description)
|
276 |
|
277 |
keyTxt.submit(submit_key, keyTxt, [user_api_key, status_display])
|
|
|
278 |
# Chatbot
|
279 |
user_input.submit(
|
280 |
predict,
|
|
|
275 |
gr.Markdown(description)
|
276 |
|
277 |
keyTxt.submit(submit_key, keyTxt, [user_api_key, status_display])
|
278 |
+
keyTxt.change(submit_key, keyTxt, [user_api_key, status_display])
|
279 |
# Chatbot
|
280 |
user_input.submit(
|
281 |
predict,
|