Spaces:
Running
Running
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
@@ -202,7 +202,7 @@ class ChatAPIApp:
|
|
202 |
if status_code == 200:
|
203 |
result = stream.json()
|
204 |
else:
|
205 |
-
result =
|
206 |
|
207 |
item_response = {
|
208 |
"statue": status_code,
|
|
|
202 |
if status_code == 200:
|
203 |
result = stream.json()
|
204 |
else:
|
205 |
+
result = stream.text
|
206 |
|
207 |
item_response = {
|
208 |
"statue": status_code,
|