I don’t understand the full picture well enough to say.
Taking a very wild guess here, there may be some difference between the working directory used locally vs on Community Cloud. Community Cloud always executes streamlit run
from the root of your repository, even if your entrypoint file is in a child directory. This can change how some paths are handled if you CD
to the child directory and execute streamlit run
from there. (Feel free to switch to your other thread that you opened so we don’t have two conversations running about the same thing.)