Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -89,6 +89,7 @@ def parse_analysis(analysis_message):
|
|
89 |
else:
|
90 |
# If the delimiter is not found, return a default error message or handle it
|
91 |
return {"error": "JSON delimiter not found in response"}
|
|
|
92 |
except json.JSONDecodeError as e:
|
93 |
# Handle cases where JSON decoding fails
|
94 |
return {"error": "Failed to decode JSON", "details": str(e)}
|
|
|
89 |
else:
|
90 |
# If the delimiter is not found, return a default error message or handle it
|
91 |
return {"error": "JSON delimiter not found in response"}
|
92 |
+
st.write(json_str)
|
93 |
except json.JSONDecodeError as e:
|
94 |
# Handle cases where JSON decoding fails
|
95 |
return {"error": "Failed to decode JSON", "details": str(e)}
|