diff --git a/src/streamlit_app.py b/src/streamlit_app.py index 18b289a..7f12ce0 100644 --- a/src/streamlit_app.py +++ b/src/streamlit_app.py @@ -223,7 +223,7 @@ with col1: root.after(20, select_dir) root.mainloop() if path_holder and path_holder[0]: - st.session_state['source_dir_selected'] = path + st.session_state['source_dir_selected'] = path_holder[0] st.rerun() root.destroy() except Exception as e: @@ -280,7 +280,7 @@ with col1: root.after(20, select_dir) root.mainloop() if path_holder and path_holder[0]: - st.session_state['dest_dir_selected'] = path + st.session_state['dest_dir_selected'] = path_holder[0] st.rerun() root.destroy() except Exception as e: