Tuchuanhuhuhu commited on
Commit
c5ae3b5
·
1 Parent(s): 4a8fb8d

bugfix: added blocked paths to protect sensitive files

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -0
ChuanhuChatbot.py CHANGED
@@ -822,6 +822,7 @@ if __name__ == "__main__":
822
  setup_wizard()
823
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
824
  allowed_paths=["history", "web_assets"],
 
825
  server_name=server_name,
826
  server_port=server_port,
827
  share=share,
 
822
  setup_wizard()
823
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
824
  allowed_paths=["history", "web_assets"],
825
+ blocked_paths=["config.json", "files", "models", "lora", "modules"],
826
  server_name=server_name,
827
  server_port=server_port,
828
  share=share,