Slash should be automatically replaced by backslash. I mean “v1\app” from Windows should map to “v1/app” on Debian Linux. Why is this not automatically done?
Relative path is no longer working. It’s possible the current folder is not “v1”, but its parent. I don’t ask why, I’d simply say that’s wrong…
Just looking for a kind and reasonable justification here, as I’m a big fan of Streamlit, but I wasted hours to get this working…
No, you don’t have to change anything on your paths to run the streamlit app either locally or deployed on streamlit cloud.
come up with a simple but specific example.
Please share a link to your public github repo and point to the issue regarding file paths.
…and look, I’ll give you mine.
you deploy your app from v1/app.py.
But the popup detects it’s from v1\app.py, you have to replace \ with /, whatever…
But then all your relative “data/ttt.csv” is not found!
Because your deployed app runs from the parent of v1 as current folder!
ps: if you truly don’t understand even now what I am talking about, please stop. Not helping…
Because that would cost money. It is on you to provide a reasonable justification for spending that money. I guess for most of us it is not a big deal. The behavior you are complaining about is pretty much how most of the software out there works.