Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,9 @@ def postprocess_message_text(api_response):
|
|
65 |
|
66 |
Returns:
|
67 |
str: Formatted message content.
|
68 |
-
"""
|
|
|
|
|
69 |
# Extract the content from the choices
|
70 |
message_content = api_response["choices"][0]["message"]["content"]
|
71 |
|
|
|
65 |
|
66 |
Returns:
|
67 |
str: Formatted message content.
|
68 |
+
"""
|
69 |
+
st.error(api_response)
|
70 |
+
|
71 |
# Extract the content from the choices
|
72 |
message_content = api_response["choices"][0]["message"]["content"]
|
73 |
|