Update app.py
Browse files
app.py
CHANGED
@@ -260,6 +260,6 @@ with gr.Blocks(css=demo_css, theme=theme) as demo:
|
|
260 |
inputs.submit(reset_textbox, [], [inputs])
|
261 |
send_button.click(predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter])
|
262 |
send_button.click(reset_textbox, [], [inputs])
|
263 |
-
save_button.click(
|
264 |
|
265 |
demo.queue(max_size=10).launch(debug=True)
|
|
|
260 |
inputs.submit(reset_textbox, [], [inputs])
|
261 |
send_button.click(predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter])
|
262 |
send_button.click(reset_textbox, [], [inputs])
|
263 |
+
save_button.click(save_chat_and_upload, [chatbot], [save_status])
|
264 |
|
265 |
demo.queue(max_size=10).launch(debug=True)
|