Spaces:
Running
Running
phyloforfun
commited on
Commit
•
945eeae
1
Parent(s):
dc6fb3f
file upload
Browse files
app.py
CHANGED
@@ -1368,6 +1368,7 @@ if 'proceed_to_private' not in st.session_state:
|
|
1368 |
|
1369 |
if 'dir_uploaded_images' not in st.session_state:
|
1370 |
st.session_state['dir_uploaded_images'] = os.path.join(st.session_state.dir_home,'uploads')
|
|
|
1371 |
# if 'private_file' not in st.session_state:
|
1372 |
# st.session_state.private_file = does_private_file_exist()
|
1373 |
# if st.session_state.private_file:
|
|
|
1368 |
|
1369 |
if 'dir_uploaded_images' not in st.session_state:
|
1370 |
st.session_state['dir_uploaded_images'] = os.path.join(st.session_state.dir_home,'uploads')
|
1371 |
+
validate_dir(os.path.join(st.session_state.dir_home,'uploads'))
|
1372 |
# if 'private_file' not in st.session_state:
|
1373 |
# st.session_state.private_file = does_private_file_exist()
|
1374 |
# if st.session_state.private_file:
|