3v324v23 commited on
Commit
a0f15f1
1 Parent(s): 33ea739

修改注释

Browse files
Files changed (2) hide show
  1. config.py +2 -2
  2. main.py +1 -1
config.py CHANGED
@@ -57,9 +57,9 @@ CONCURRENT_COUNT = 100
57
  # [("username", "password"), ("username2", "password2"), ...]
58
  AUTHENTICATION = []
59
 
60
- # 重新URL重新定向,实现更换API_URL的作用(常规情况下,不要修改!!)
61
  # 格式 {"https://api.openai.com/v1/chat/completions": "重定向的URL"}
62
  API_URL_REDIRECT = {}
63
 
64
- # 如果你需要把网址放在二级地址下(常规情况下,不要修改!!)(需要配合修改main.py才能生效)
65
  CUSTOM_PATH = "/"
 
57
  # [("username", "password"), ("username2", "password2"), ...]
58
  AUTHENTICATION = []
59
 
60
+ # 重新URL重新定向,实现更换API_URL的作用(常规情况下,不要修改!!)
61
  # 格式 {"https://api.openai.com/v1/chat/completions": "重定向的URL"}
62
  API_URL_REDIRECT = {}
63
 
64
+ # 如果需要在二级路径下运行(常规情况下,不要修改!!)(需要配合修改main.py才能生效!)
65
  CUSTOM_PATH = "/"
main.py CHANGED
@@ -188,7 +188,7 @@ def main():
188
  auto_opentab_delay()
189
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
190
 
191
- # 如果需要在二级路径下运行gradio
192
  # CUSTOM_PATH, = get_conf('CUSTOM_PATH')
193
  # if CUSTOM_PATH != "/":
194
  # from toolbox import run_gradio_in_subpath
 
188
  auto_opentab_delay()
189
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
190
 
191
+ # 如果需要在二级路径下运行
192
  # CUSTOM_PATH, = get_conf('CUSTOM_PATH')
193
  # if CUSTOM_PATH != "/":
194
  # from toolbox import run_gradio_in_subpath