Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.41.0
metadata
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 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
- Install dependencies:
pip install -r requirements.txt
- Run the app:
python app.py
Or just run it here on Spaces!