Tuchuanhuhuhu commited on
Commit
37c30be
·
1 Parent(s): b5980ba

feat: 加强了文件安全

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py CHANGED
@@ -797,7 +797,7 @@ demo.title = i18n("川虎Chat 🚀")
797
  if __name__ == "__main__":
798
  reload_javascript()
799
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
800
- blocked_paths=["config.json"],
801
  server_name=server_name,
802
  server_port=server_port,
803
  share=share,
 
797
  if __name__ == "__main__":
798
  reload_javascript()
799
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
800
+ allowed_paths=["history", "web_assets"],
801
  server_name=server_name,
802
  server_port=server_port,
803
  share=share,