FileNotFoudnError

File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)File "/mount/src/data-analysis-project/Dashboard/dashboard.py", line 23, in <module>
    products_df = pd.read_csv("products_clean_df.csv")

my github repo:

how can i fix it?

File paths on streamlit cloud must always be relative to the root folder of the github repo.

pd.read_csv("Dashboard/products_clean_df.csv")

Thank you so much!!

hi franky, the streamlit dashboard does not working too when i change the file path

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.