littlebird13 commited on
Commit
170c546
·
verified ·
1 Parent(s): e78dc7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from openai import OpenAI
5
  # 初始化 OpenAI 客户端
6
  client = OpenAI(
7
  api_key=os.environ['API_KEY'], # 请确保已设置环境变量,或直接填入你的 API Key
8
- base_url="https://dashscope.aliyuncs-intl.com/compatible-mode/v1",
9
  )
10
 
11
  # 支持的语言选项
 
5
  # 初始化 OpenAI 客户端
6
  client = OpenAI(
7
  api_key=os.environ['API_KEY'], # 请确保已设置环境变量,或直接填入你的 API Key
8
+ base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
9
  )
10
 
11
  # 支持的语言选项