littlebird13 commited on
Commit
2fe9021
·
verified ·
1 Parent(s): 1297fe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ import dashscope
18
  from dashscope import MultiModalConversation
19
  API_KEY = os.environ['API_KEY']
20
  dashscope.api_key = API_KEY
 
21
 
22
  is_modelscope_studio = os.getenv('MODELSCOPE_ENVIRONMENT') == 'studio'
23
 
 
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
 
23
  is_modelscope_studio = os.getenv('MODELSCOPE_ENVIRONMENT') == 'studio'
24