Spaces:
Runtime error
Runtime error
DiamondYin
commited on
Commit
·
bdfc2e6
1
Parent(s):
df93180
0804
Browse files- requirements.txt +0 -1
- testlinkspark.py +1 -1
requirements.txt
CHANGED
@@ -140,7 +140,6 @@ urllib3==1.26.15
|
|
140 |
uvicorn==0.21.1
|
141 |
uvloop==0.17.0
|
142 |
watchfiles==0.19.0
|
143 |
-
websockets==11.0.2
|
144 |
wrapt==1.14.1
|
145 |
XlsxWriter==3.1.0
|
146 |
yarl==1.8.2
|
|
|
140 |
uvicorn==0.21.1
|
141 |
uvloop==0.17.0
|
142 |
watchfiles==0.19.0
|
|
|
143 |
wrapt==1.14.1
|
144 |
XlsxWriter==3.1.0
|
145 |
yarl==1.8.2
|
testlinkspark.py
CHANGED
@@ -126,7 +126,7 @@ def gen_params(appid, question):
|
|
126 |
|
127 |
def main(appid, api_key, api_secret, gpt_url, question):
|
128 |
wsParam = Ws_Param(appid, api_key, api_secret, gpt_url)
|
129 |
-
|
130 |
wsUrl = wsParam.create_url()
|
131 |
ws = websocket.WebSocketApp(wsUrl, on_message=on_message, on_error=on_error, on_close=on_close, on_open=on_open)
|
132 |
ws.appid = appid
|
|
|
126 |
|
127 |
def main(appid, api_key, api_secret, gpt_url, question):
|
128 |
wsParam = Ws_Param(appid, api_key, api_secret, gpt_url)
|
129 |
+
websocket.enableTrace(False)
|
130 |
wsUrl = wsParam.create_url()
|
131 |
ws = websocket.WebSocketApp(wsUrl, on_message=on_message, on_error=on_error, on_close=on_close, on_open=on_open)
|
132 |
ws.appid = appid
|