I am trying to run my first multipage app on render using github.
This is my github repo: GitHub - thedatahawk/us_exposure
When I attempt to deploy in render I get an error for data files:
FileNotFoundError: [Errno 2] No such file or directory: ‘data/usa_sourcing.pkl’
In my file: us_exposure/src/pages/us_exposure_treemap.py at main · thedatahawk/us_exposure · GitHub
This is how I attempt to access the datafile:
link_to_df = Path(name).parent.parent/‘data’/‘usa_sourcing.pkl’
df = pd.read_pickle(link_to_df)
My app runs locally, but I get the error in render.
I am new to coding/potly/render. I appreciate the help!