FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Utilisateur/OneDrive/Bureau/PROJET7/data_train.csv'

I am trying to deploy my app on streamlit cloud, and I am having a problem with paths.

Here is my repo

Thanks in advance for the help !

Hi @SaidMANAM, welcome to the Streamlit community!

It’s important to note that absolute paths to your local computer directory mapping is unlikely to work on another computer, irrespective of using Streamlit Cloud or another hosting service. You need to use relative references to the files for your code to work.