Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,42 +1,21 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
recommender = GiftRecommender()
|
24 |
-
text = "I'm looking for a gift for my 25-year-old sister who loves painting."
|
25 |
-
recommendations = recommender.get_gift_recommendations(text)
|
26 |
-
print(recommender.format_recommendations(recommendations))
|
27 |
-
```
|
28 |
-
|
29 |
-
## Features
|
30 |
-
|
31 |
-
- Natural language processing for gift preferences
|
32 |
-
- Sentiment analysis for interest weighting
|
33 |
-
- Customizable gift categories and rules
|
34 |
-
- Detailed recommendation explanations
|
35 |
-
|
36 |
-
## Contributing
|
37 |
-
|
38 |
-
1. Fork the repository
|
39 |
-
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
|
40 |
-
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
|
41 |
-
4. Push to the branch (`git push origin feature/AmazingFeature`)
|
42 |
-
5. Open a Pull Request
|
|
|
1 |
+
---
|
2 |
+
title: π NLP Gift Recommender
|
3 |
+
emoji: π
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: blue
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: "3.50.0"
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
+
|
12 |
+
# NLP Gift Recommender
|
13 |
+
|
14 |
+
An NLP-powered gift recommendation system using Hugging Face transformers.
|
15 |
+
|
16 |
+
## π Setup
|
17 |
+
|
18 |
+
1. Clone the repository:
|
19 |
+
```bash
|
20 |
+
git clone https://huggingface.co/spaces/noddysnots/Gift-Recommender.git
|
21 |
+
cd Gift-Recommender
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|