Spaces:
Sleeping
Sleeping
LiuZhiwen0706
commited on
Commit
•
75a11d4
1
Parent(s):
ce286a8
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def greet(appid, api_secret, api_key, topic, answer):
|
|
157 |
score(appid=appid,
|
158 |
api_secret=api_secret,
|
159 |
api_key=api_key,
|
160 |
-
gpt_url="ws://spark-api.xf-yun.com/
|
161 |
question=question)
|
162 |
with open('output.txt', 'r') as f:
|
163 |
opinions = f.read()
|
|
|
157 |
score(appid=appid,
|
158 |
api_secret=api_secret,
|
159 |
api_key=api_key,
|
160 |
+
gpt_url="ws://spark-api.xf-yun.com/v2.1/chat",
|
161 |
question=question)
|
162 |
with open('output.txt', 'r') as f:
|
163 |
opinions = f.read()
|