Spaces:
Sleeping
Sleeping
themeetjani
commited on
Commit
•
e7a366d
1
Parent(s):
b3417f2
Update pages/Auto_Report_Generation.py
Browse files
pages/Auto_Report_Generation.py
CHANGED
@@ -57,10 +57,10 @@ uploaded_file = st.file_uploader("Choose a file")
|
|
57 |
if 'report' not in session_state:
|
58 |
session_state['report']= ""
|
59 |
|
60 |
-
def classify(
|
61 |
session_state['report'] = all_combined(uploaded_file)
|
62 |
|
63 |
|
64 |
st.text_area("result", value=session_state['report'])
|
65 |
|
66 |
-
st.button("Generate a Report", on_click=classify
|
|
|
57 |
if 'report' not in session_state:
|
58 |
session_state['report']= ""
|
59 |
|
60 |
+
def classify():
|
61 |
session_state['report'] = all_combined(uploaded_file)
|
62 |
|
63 |
|
64 |
st.text_area("result", value=session_state['report'])
|
65 |
|
66 |
+
st.button("Generate a Report", on_click=classify)
|