littlebird13 commited on
Commit
baae5d7
1 Parent(s): 2fe9021

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ from pathlib import Path
17
  import dashscope
18
  from dashscope import MultiModalConversation
19
  API_KEY = os.environ['API_KEY']
 
20
  dashscope.api_key = API_KEY
21
  dashscope.base_http_api_url = 'https://ga-lmsys-dashscope.aliyuncs.com/api/v1'
22
 
 
17
  import dashscope
18
  from dashscope import MultiModalConversation
19
  API_KEY = os.environ['API_KEY']
20
+ BASE_URL = os.environ['DASHSCOPE_HTTP_BASE_URL']
21
  dashscope.api_key = API_KEY
22
  dashscope.base_http_api_url = 'https://ga-lmsys-dashscope.aliyuncs.com/api/v1'
23