Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,11 @@ OMDB_API_KEY = "a08b4599"
|
|
| 13 |
|
| 14 |
@tool
|
| 15 |
def get_movies_by_mood(mood: str) -> str:
|
| 16 |
-
"""Suggests up to 5 movies based on the user's mood using OMDb API.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
mood_keywords = {
|
| 18 |
"happy": "comedy",
|
| 19 |
"sad": "drama",
|
|
|
|
| 13 |
|
| 14 |
@tool
|
| 15 |
def get_movies_by_mood(mood: str) -> str:
|
| 16 |
+
"""Suggests up to 5 movies based on the user's mood using OMDb API.
|
| 17 |
+
|
| 18 |
+
Args:
|
| 19 |
+
mood: a current emotional state or feeling of a user (e.g., 'sad', 'happy', 'romantic')
|
| 20 |
+
"""
|
| 21 |
mood_keywords = {
|
| 22 |
"happy": "comedy",
|
| 23 |
"sad": "drama",
|