Spaces:
Runtime error
Runtime error
edwardjiang
commited on
Commit
•
313438a
1
Parent(s):
90a7cda
Update launch.py
Browse files
launch.py
CHANGED
@@ -313,7 +313,6 @@ with gr.Blocks() as demo:
|
|
313 |
submitBtn.click(predict, [user_input, chatbot, max_length, top_p, temperature, history], [chatbot, history],
|
314 |
show_progress=True)
|
315 |
submitBtn.click(reset_user_input, [], [user_input])
|
316 |
-
|
317 |
emptyBtn.click(reset_state, outputs=[chatbot, history], show_progress=True)
|
318 |
|
319 |
demo.queue().launch(inbrowser=True, share=True)
|
|
|
313 |
submitBtn.click(predict, [user_input, chatbot, max_length, top_p, temperature, history], [chatbot, history],
|
314 |
show_progress=True)
|
315 |
submitBtn.click(reset_user_input, [], [user_input])
|
|
|
316 |
emptyBtn.click(reset_state, outputs=[chatbot, history], show_progress=True)
|
317 |
|
318 |
demo.queue().launch(inbrowser=True, share=True)
|