JohnSmith9982 commited on
Commit
7a87049
1 Parent(s): 5a0d7f9

Upload ChuanhuChatbot.py

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -4
ChuanhuChatbot.py CHANGED
@@ -244,7 +244,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
244
  lines=1,
245
  )
246
 
247
- with gr.Accordion(i18n("网络设置"), open=False):
248
  # 优先展示自定义的api_host
249
  apihostTxt = gr.Textbox(
250
  show_label=True,
@@ -469,9 +469,6 @@ if __name__ == "__main__":
469
  reload_javascript()
470
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
471
  blocked_paths=["config.json"],
472
- server_name=server_name,
473
- server_port=server_port,
474
- share=share,
475
  auth=auth_list if authflag else None,
476
  favicon_path="./assets/favicon.ico",
477
  inbrowser=not dockerflag, # 禁止在docker下开启inbrowser
 
244
  lines=1,
245
  )
246
 
247
+ with gr.Accordion(i18n("网络设置"), open=False, visible=False):
248
  # 优先展示自定义的api_host
249
  apihostTxt = gr.Textbox(
250
  show_label=True,
 
469
  reload_javascript()
470
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
471
  blocked_paths=["config.json"],
 
 
 
472
  auth=auth_list if authflag else None,
473
  favicon_path="./assets/favicon.ico",
474
  inbrowser=not dockerflag, # 禁止在docker下开启inbrowser