JohnSmith9982 commited on
Commit
2a8b395
1 Parent(s): 014266c

Upload 166 files

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py CHANGED
@@ -825,7 +825,7 @@ if __name__ == "__main__":
825
  server_name=server_name,
826
  server_port=server_port,
827
  share=share,
828
- auth=auth_from_conf if authflag else None,
829
  favicon_path="./web_assets/favicon.ico",
830
  inbrowser=autobrowser and not dockerflag, # 禁止在docker下开启inbrowser
831
  )
 
825
  server_name=server_name,
826
  server_port=server_port,
827
  share=share,
828
+ auth=auth_from_conf if not hfspaceflag else auth_list if authflag else None,
829
  favicon_path="./web_assets/favicon.ico",
830
  inbrowser=autobrowser and not dockerflag, # 禁止在docker下开启inbrowser
831
  )