shukdevdatta123 commited on
Commit
f481ae9
·
verified ·
1 Parent(s): 6627156

Update app.py

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