xiaolv commited on
Commit
2410a17
1 Parent(s): 9330738

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,6 +56,6 @@ with gr.Blocks() as dialog_app:
56
  send.click(get_model_reply, [inputs, style, cookies, state], [chatbot, state],api_name="xiaolvgpt")
57
 
58
  # launches the app in a new local port
59
- dialog_app.launch(share=True)
60
  # 为网站设置密码防止滥用
61
  # dialog_app.launch(auth=("admin", "pass1234"))
 
56
  send.click(get_model_reply, [inputs, style, cookies, state], [chatbot, state],api_name="xiaolvgpt")
57
 
58
  # launches the app in a new local port
59
+ dialog_app.launch(show_error=True)
60
  # 为网站设置密码防止滥用
61
  # dialog_app.launch(auth=("admin", "pass1234"))