Spaces:
Sleeping
Sleeping
Update pages/Auto_Report_Generation.py
Browse files
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 |
-
|
60 |
-
|
61 |
-
st.text_area("Report", value = all_combined(
|
|
|
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))
|