Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Commit
•
c83c114
1
Parent(s):
9a9e4a4
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
@@ -242,7 +242,7 @@ class ChatAPIApp:
|
|
242 |
data_response = {
|
243 |
"model": data_response.get('model'),
|
244 |
"created_at": data_response.get('created'),
|
245 |
-
"response": data_response["choices"][0]["message"]["content"]
|
246 |
"done": True,
|
247 |
}
|
248 |
return data_response
|
|
|
242 |
data_response = {
|
243 |
"model": data_response.get('model'),
|
244 |
"created_at": data_response.get('created'),
|
245 |
+
"response": data_response["choices"][0]["message"]["content"],
|
246 |
"done": True,
|
247 |
}
|
248 |
return data_response
|