Spaces:
Runtime error
Runtime error
Commit
·
3871450
1
Parent(s):
b994311
Update utils/API.py
Browse files- utils/API.py +1 -1
utils/API.py
CHANGED
@@ -9,7 +9,7 @@ from utils.tools import get_prompt, process_response, init_script, create_script
|
|
9 |
|
10 |
|
11 |
class SparkAPI:
|
12 |
-
__api_url = '
|
13 |
__max_token = 4096
|
14 |
|
15 |
def __init__(self, app_id, api_key, api_secret):
|
|
|
9 |
|
10 |
|
11 |
class SparkAPI:
|
12 |
+
__api_url = 'wss://spark-api.xf-yun.com/v2.1/chat'
|
13 |
__max_token = 4096
|
14 |
|
15 |
def __init__(self, app_id, api_key, api_secret):
|