A web-based movie recommender app built with Streamlit. Enter a movie name and get five similar movie recommendations, each with its poster fetched from TMDB.
- Select a movie from a dropdown list
- Get five recommended movies based on similarity
- See posters for each recommended movie
- Powered by precomputed similarity matrix and TMDB API
- Python 3.12+
streamlit,pandas,requests,picklemovies_dict.pklandsimilarity1.pklfiles in the project directory
- Install dependencies:
pip install -r requirements.txt
- Start the app:
streamlit run app.py
- Open your browser at
http://localhost:8501
- See the Procfile for Heroku deployment.
- For AWS EC2, run with:
streamlit run app.py --server.address=0.0.0.0 --server.port=8501
- For public access, point your domain or DuckDNS subdomain to your EC2 public IP.
- Loads movie data and similarity matrix from pickle files
- Uses TMDB API to fetch movie posters
- Displays recommendations and posters in a Streamlit web UI
app.py— main Streamlit appmovies_dict.pkl— movie datasimilarity1.pkl— similarity matrixProcfile— for Heroku deployment
MIT