I have a multi page dash app that uses a csv as the data source, and when I try to upload the app to heroku it gives me an error. The way the data is called, along with the file structure is probably the issue but I dont know how to fix it.
file structure:
-assets
-pages
–pg1.py
–pg2.py
-app.py
-data1.csv
code to read csv:
df = pd.read_csv(“data1.csv”)
error was no file directory found