Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ elif option == "View Previous Conversations":
|
|
117 |
# View data summary
|
118 |
elif option == "View Data Summary":
|
119 |
if os.path.exists(summary_file):
|
120 |
-
with open(summary_file, "r") as file:
|
121 |
st.text_area("Data Summary", file.read(), height=300)
|
122 |
else:
|
123 |
st.warning("No data summary found.")
|
|
|
117 |
# View data summary
|
118 |
elif option == "View Data Summary":
|
119 |
if os.path.exists(summary_file):
|
120 |
+
with open(summary_file, "r", encoding="utf-8", errors="replace") as file:
|
121 |
st.text_area("Data Summary", file.read(), height=300)
|
122 |
else:
|
123 |
st.warning("No data summary found.")
|