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