Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
44 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
45 |
|
46 |
@tool
|
47 |
-
def get_horoscope(sign: str, date: str = None) -> str:
|
48 |
"""Fetches the horoscope for a given zodiac sign and date.
|
49 |
If the user does not provide a date, use today's real date.
|
50 |
Args:
|
|
|
44 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
45 |
|
46 |
@tool
|
47 |
+
def get_horoscope(sign: str, date: str = None, language: str = None) -> str:
|
48 |
"""Fetches the horoscope for a given zodiac sign and date.
|
49 |
If the user does not provide a date, use today's real date.
|
50 |
Args:
|