ADS2024-B2 / AgileProject

0 stars 0 forks source link

Deploy streamlit app with dependancies self-installation #41

Open cfuses opened 1 week ago

cfuses commented 1 week ago

While we don't have the Docker image ready, we can deploy a version of the app through streamlit's easy deployment method. The problem in sprint 1 to deploy the app to run it remotely was that streamlit cannot automatically pip install spotlight. Thus we are solving this forking spotlight's repo into our own repository.

Testing:

Related to User story #22

cfuses commented 1 week ago

Spotlight can now be used from any machine by calling the dependency with libs.spotlight.spotlight, for example: from libs.spotlight.spotlight.datasets.movielens import get_movielens_dataset

cfuses commented 2 days ago

As streamlit_app_2 has changes in branch model_training involving datasets created in the datasets branch, I cannot run the app on streamlit. Not sure if it is necessary anymore as the app seems to work in docker.