xxyyy123 commited on
Commit
8795d9e
·
verified ·
1 Parent(s): 31872c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,4 +163,4 @@ with gr.Blocks(title=model_name.split('/')[-1], theme=gr.themes.Ocean()) as demo
163
  submit_event = text_input.submit(submit_chat, [chatbot, text_input], [chatbot, text_input]).then(ovis_chat,[chatbot, image_input],chatbot)
164
  clear_btn.click(clear_chat, outputs=[chatbot, image_input, text_input])
165
 
166
- demo.launch()
 
163
  submit_event = text_input.submit(submit_chat, [chatbot, text_input], [chatbot, text_input]).then(ovis_chat,[chatbot, image_input],chatbot)
164
  clear_btn.click(clear_chat, outputs=[chatbot, image_input, text_input])
165
 
166
+ demo.launch(show_error=True)