yannayguy1 / README.md
guyinbal's picture
Upload 3 files
8f46540 verified

A newer version of the Gradio SDK is available: 5.41.0

Upgrade
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

  1. Install dependencies:
pip install -r requirements.txt
  1. Run the app:
python app.py

Or just run it here on Spaces!