Hey
Iβm deploying an app that has a specific github folder structure to the project at hand. In this case, I also have a css folder and I need to access the css file inside this folder. The github path would then be something like:
frontend/css/style.css
And I was trying to it like this:
from load_css import local_css
local_css(r".\frontend\css\style.css")
I keep getting file not found error. This should work, no? Does streamlit keep the folder structure from the github repo? How can I access files inside a given folder then?
As an overview, the folder structure looks like this (not all folders are here):
βββ .streamlit/
β βββ config.toml
βββ backend/
β βββ pivots/
β βββ __init__.py
β βββ config.py
β βββ pivots.py
βββ config.toml
βββ frontend/
β βββ app/
β β βββ __pycache__/
β β β βββ load_css.cpython-39.pyc
β β βββ load_css.py
β β βββ main.py
β βββ css/
β β βββ __init__.py
β β βββ style.css
β βββ images/
β β βββ test.png
β βββ tools/
β βββ __init__.py
β βββ utility.py
βββ README.md
βββ requirements.txt
βββ tests/