Skip to content

Commit

Permalink
增加 blocked path
Browse files Browse the repository at this point in the history
  • Loading branch information
GaiZhenbiao committed Jun 1, 2023
1 parent e121fd7 commit bfac445
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ChuanhuChatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ def create_greeting(request: gr.Request):
if __name__ == "__main__":
reload_javascript()
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
blocked_paths=["config.json"],
server_name=server_name,
server_port=server_port,
share=share,
Expand Down

0 comments on commit bfac445

Please sign in to comment.