hello i hope you are doing great !
i have been facing an issue when deploying my web application in the streamlit cloud service. The app uses the multiple ML libraries in order to perform the predictions. the core issue was the incompatibility between the scikit-learn and imbalanced-learn libraries. even though the code was executed successfuly in the local.
- i specified the right version in requirements.txt file
- i even specified the right python version in runtime.txt
- however, somehow the streamlit compiler still uses the latest version of python with incompatible libraries.
idk if its a bug in the steamlit cloud service or it’s an issue from my end.
- here is the link of the repo : GitHub - hamzabenai/Automated_Machine_learning_prototype
- here is the link of the app : https://auto-ml-pip.streamlit.app/
Note : i used some alternative libs of imbalanced_learn in order to make the process work. however i could not know the cause of the issue i just mentioned