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/