Update app.py
Browse files
app.py
CHANGED
@@ -594,7 +594,8 @@ with gr.Blocks() as app:
|
|
594 |
|
595 |
|
596 |
m_choice.change(load_models,m_choice,[chatbot])
|
597 |
-
app.load(load_models,m_choice,[chatbot]).then(load_html,None,html)
|
|
|
598 |
|
599 |
sub_b = submit_b.click(generate, [msg,chatbot,post_handler,chat_handler,chat_handler,tokens],[msg,chatbot,post_handler,chat_handler,sumbox,sum_out_box,hist_out_box,html])
|
600 |
sub_c = submit_c.click(comment_generate, [msg,chatbot,post_handler,chat_handler],[msg,chatbot,sumbox,sum_out_box,hist_out_box,html])
|
|
|
594 |
|
595 |
|
596 |
m_choice.change(load_models,m_choice,[chatbot])
|
597 |
+
#app.load(load_models,m_choice,[chatbot]).then(load_html,None,html)
|
598 |
+
app.load(load_models,m_choice,[chatbot])
|
599 |
|
600 |
sub_b = submit_b.click(generate, [msg,chatbot,post_handler,chat_handler,chat_handler,tokens],[msg,chatbot,post_handler,chat_handler,sumbox,sum_out_box,hist_out_box,html])
|
601 |
sub_c = submit_c.click(comment_generate, [msg,chatbot,post_handler,chat_handler],[msg,chatbot,sumbox,sum_out_box,hist_out_box,html])
|