littlebird13 commited on
Commit
9e5905d
1 Parent(s): baae5d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ 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
 
24
  is_modelscope_studio = os.getenv('MODELSCOPE_ENVIRONMENT') == 'studio'
25
 
 
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 = BASE_URL
23
 
24
  is_modelscope_studio = os.getenv('MODELSCOPE_ENVIRONMENT') == 'studio'
25