themeetjani commited on
Commit
93faa7f
1 Parent(s): 89189e2

Update pages/Auto_Report_Generation.py

Browse files
Files changed (1) hide show
  1. pages/Auto_Report_Generation.py +3 -3
pages/Auto_Report_Generation.py CHANGED
@@ -56,6 +56,6 @@ uploaded_file = st.file_uploader("Choose a file")
56
  if uploaded_file is not None:
57
 
58
  # To convert to a string based IO:
59
- fileee = StringIO(uploaded_file.getvalue().decode("utf-8"))
60
- fileee = str(fileee)
61
- st.text_area("Report", value = all_combined(fileee))
 
56
  if uploaded_file is not None:
57
 
58
  # To convert to a string based IO:
59
+ stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
60
+ string_data = stringio.read()
61
+ st.text_area("Report", value = all_combined(string_data))