Spaces:
Sleeping
Sleeping
| title: Movie Recommender | |
| emoji: 🎬 | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: gradio | |
| sdk_version: "4.16.0" | |
| app_file: app.py | |
| pinned: false | |
| # Movie Recommender | |
| A simple web app to recommend movies based on your text description, using embeddings and cosine similarity. | |
| ## How it works | |
| - The app uses [SentenceTransformers](https://www.sbert.net/) to encode your text and the movie descriptions into embeddings. | |
| - Then it calculates the cosine similarity between your input and all movies in the dataset. | |
| - It shows the top 5 most similar movies. | |
| ## How to run | |
| 1. Install dependencies: | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| 2. Run the app: | |
| ```bash | |
| python app.py | |
| ``` | |
| Or just run it here on Spaces! | |