I get filenotfounderror not locally

You don’t have access to the clients filesystem as soon as the streamlit app runs on any hosted environment.