修改注释

This commit is contained in:
Your Name 2023-04-22 18:10:42 +08:00
parent 33ea7391b5
commit a0f15f1512
2 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ CONCURRENT_COUNT = 100
# [("username", "password"), ("username2", "password2"), ...]
AUTHENTICATION = []
# 重新URL重新定向实现更换API_URL的作用常规情况下不要修改
# 重新URL重新定向实现更换API_URL的作用常规情况下不要修改!!
# 格式 {"https://api.openai.com/v1/chat/completions": "重定向的URL"}
API_URL_REDIRECT = {}
# 如果你需要把网址放在二级地址下常规情况下不要修改需要配合修改main.py才能生效
# 如果需要在二级路径下运行(常规情况下,不要修改!!需要配合修改main.py才能生效!
CUSTOM_PATH = "/"

View File

@ -188,7 +188,7 @@ def main():
auto_opentab_delay()
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
# 如果需要在二级路径下运行gradio
# 如果需要在二级路径下运行
# CUSTOM_PATH, = get_conf('CUSTOM_PATH')
# if CUSTOM_PATH != "/":
# from toolbox import run_gradio_in_subpath