Gromopo / GroMoPo

Groundwater Model Portal — sharing regional to global groundwater model data
Creative Commons Zero v1.0 Universal
9 stars 4 forks source link

Check if app is streamlit hosted or running local #39

Open rreinecke opened 2 years ago

rreinecke commented 2 years ago

Currently some hacks are necessary to make sure that the paths are correct depending on which system the app runs, e.g., for reading in input data. We should make sure that the behavior is the same on windows, linux, mac and as a cloud app.

rreinecke commented 2 years ago

We can possibly check that with platform.processor() on streamlit.io this should be empty.

samzipper commented 1 year ago

@rreinecke is this issue resolved? As far as I can tell, it is working both locally and on streamlit cloud.

rreinecke commented 1 year ago

Only partially. It really depends if we want to stick with streamlit for future versions. If yes this issue should be left open to be fixed towards a version 2.0