File size: 1,258 Bytes
5d9fa2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | ---
title: Book Semantic Search
emoji: π
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.47.2
app_file: app.py
pinned: false
license: mit
---
# Book Semantic Search π
A semantic search application for discovering books based on emotional tone and themes.
## Features
- π **Semantic Search**: Find books using natural language queries
- π **Emotion-based Filtering**: Filter by emotional tones (Suspenseful, Sad, Romantic, etc.)
- π **Category Filtering**: Browse by book categories
- π― **Smart Recommendations**: Get personalized book recommendations based on content similarity
## How to Use
1. **Enter Your Query**: Describe what kind of book you're looking for
2. **Select Tone** (Optional): Choose an emotional tone to narrow results
3. **Select Category** (Optional): Filter by book category
4. **Get Recommendations**: Click submit to see your personalized book recommendations
## Technology Stack
- **Frontend**: Gradio
- **Backend**: Python
- **Search**: Semantic similarity using embeddings
- **Data**: Curated book dataset with emotional tone annotations
## Local Development
```bash
# Install dependencies
pip install -r requirements.txt
# Run the app
python app.py |