Spaces:
Running
Running
metadata
title: Book Recommender
emoji: π
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 6.6.0
app_file: app.py
pinned: false
short_description: 'Book search/rec based on vector search: Query - Book desc'
π Semantic Book Recommender
A semantic book recommendation system powered by vector search and emotion-aware ranking.
π How It Works
- User enters a book description.
- The query is converted into an embedding using
sentence-transformers/all-MiniLM-L6-v2(Hugging Face Inference API). - FAISS performs cosine similarity search over precomputed book embeddings.
- Results are optionally filtered by category.
- Results are optionally re-ranked by emotional tone (joy, surprise, anger, fear, sadness).
π§ Features
- Semantic similarity search (FAISS)
- Emotion-based re-ranking
- Category filtering
- Fast retrieval with precomputed embeddings
- Hosted on Hugging Face Spaces (Gradio)
π Tech Stack
- Python
- Gradio
- FAISS
- Hugging Face Inference API
- Pandas / NumPy