Spaces:
Runtime error
Runtime error
Commit
·
bb4a3df
1
Parent(s):
8d68e7b
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
75 |
api_submit_button.click(set_api_key, inputs=api_input, outputs=api_key_status)
|
76 |
api_reset_button.click(reset_api_key, outputs=api_key_status)
|
77 |
api_check_button.click(get_api_key, outputs=api_print)
|
78 |
-
msg.submit(respond, [msg, chatbot, model_selection], [msg, chatbot])
|
79 |
clear.click(lambda: None, None, chatbot, queue=False)
|
80 |
|
81 |
demo.launch()
|
|
|
75 |
api_submit_button.click(set_api_key, inputs=api_input, outputs=api_key_status)
|
76 |
api_reset_button.click(reset_api_key, outputs=api_key_status)
|
77 |
api_check_button.click(get_api_key, outputs=api_print)
|
78 |
+
msg.submit(respond, inputs = [msg, chatbot, model_selection], outputs = [msg, chatbot])
|
79 |
clear.click(lambda: None, None, chatbot, queue=False)
|
80 |
|
81 |
demo.launch()
|