Issue with os.chdir() in Version 1.10.0

os.chdir used to work for fetching file from other files or folder in version prior to 1.10.0, however in version 1.10.0, if we change the directory, the streamlit get’s an error that the main.py file was not found. I have tested this on local network, where I need to change directory on regular basis for data wrangling.