Update utils/uploadAndExample.py
Browse files
utils/uploadAndExample.py
CHANGED
@@ -12,10 +12,10 @@ def add_upload(choice):
|
|
12 |
|
13 |
if choice == 'Upload Document':
|
14 |
|
15 |
-
|
16 |
# Delete all the items in Session state
|
17 |
-
|
18 |
-
|
19 |
|
20 |
uploaded_file = st.sidebar.file_uploader('Upload the File',
|
21 |
type=['pdf', 'docx', 'txt'])
|
|
|
12 |
|
13 |
if choice == 'Upload Document':
|
14 |
|
15 |
+
# if 'filename' in st.session_state:
|
16 |
# Delete all the items in Session state
|
17 |
+
# for key in st.session_state.keys():
|
18 |
+
# del st.session_state[key]
|
19 |
|
20 |
uploaded_file = st.sidebar.file_uploader('Upload the File',
|
21 |
type=['pdf', 'docx', 'txt'])
|