入库prompt字符串从strip替换为正则表达式

This commit is contained in:
w_xiaolizu
2023-05-29 11:27:53 +08:00
parent 90325d6056
commit c5178b7038
2 changed files with 6 additions and 4 deletions

View File

@ -383,7 +383,8 @@ class ChatBot(ChatBotFrame):
# Start
self.auto_opentab_delay()
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION)
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION,
blocked_paths=["config.py", "config_private.py", "docker-compose.yml", "Dockerfile"])
def check_proxy_free():