修改注释
This commit is contained in:
		
							parent
							
								
									33ea7391b5
								
							
						
					
					
						commit
						a0f15f1512
					
				@ -57,9 +57,9 @@ CONCURRENT_COUNT = 100
 | 
				
			|||||||
# [("username", "password"), ("username2", "password2"), ...]
 | 
					# [("username", "password"), ("username2", "password2"), ...]
 | 
				
			||||||
AUTHENTICATION = []
 | 
					AUTHENTICATION = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 重新URL重新定向,实现更换API_URL的作用(常规情况下,不要修改!!)
 | 
					# 重新URL重新定向,实现更换API_URL的作用(常规情况下,不要修改!!)
 | 
				
			||||||
# 格式 {"https://api.openai.com/v1/chat/completions": "重定向的URL"}
 | 
					# 格式 {"https://api.openai.com/v1/chat/completions": "重定向的URL"}
 | 
				
			||||||
API_URL_REDIRECT = {}
 | 
					API_URL_REDIRECT = {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 如果你需要把网址放在二级地址下(常规情况下,不要修改!!)(需要配合修改main.py才能生效)
 | 
					# 如果需要在二级路径下运行(常规情况下,不要修改!!)(需要配合修改main.py才能生效!)
 | 
				
			||||||
CUSTOM_PATH = "/"
 | 
					CUSTOM_PATH = "/"
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@ -188,7 +188,7 @@ def main():
 | 
				
			|||||||
    auto_opentab_delay()
 | 
					    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")
 | 
					    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')
 | 
					    # CUSTOM_PATH, = get_conf('CUSTOM_PATH')
 | 
				
			||||||
    # if CUSTOM_PATH != "/": 
 | 
					    # if CUSTOM_PATH != "/": 
 | 
				
			||||||
    #     from toolbox import run_gradio_in_subpath
 | 
					    #     from toolbox import run_gradio_in_subpath
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user