Application deployment

Backslashes in files paths will not work on Streamlit Cloud. Your file path may work on a local, Windows environment using backslashes, but Streamlit Cloud is Debian. That is a key part of “OS-agnostic.”

Another way to do what @arnaud said is to use:

./data/datasethospital.xlsx for your path. Both Windows and Streamlit Cloud will understand the forward slashes.

1 Like