Spaces:
Sleeping
Sleeping
Commit ·
f6622c4
1
Parent(s): 399c090
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def call_openai(msg, api_key):
|
|
| 22 |
]
|
| 23 |
)
|
| 24 |
return [
|
| 25 |
-
response["choices"][0]["
|
| 26 |
json.dumps(response, indent=4)
|
| 27 |
]
|
| 28 |
|
|
|
|
| 22 |
]
|
| 23 |
)
|
| 24 |
return [
|
| 25 |
+
response["choices"][0]["message"]["content"],
|
| 26 |
json.dumps(response, indent=4)
|
| 27 |
]
|
| 28 |
|