Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 36 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 37 |
|
| 38 |
@tool
|
| 39 |
-
def search_for_books(
|
| 40 |
"""A tool that searches for books by author keywords or words in the title of the book
|
| 41 |
Args:
|
| 42 |
search_term: A string representing a search terms. Can be part of the book title or the author's name.
|
|
|
|
| 36 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 37 |
|
| 38 |
@tool
|
| 39 |
+
def search_for_books(search_term: str) -> str:
|
| 40 |
"""A tool that searches for books by author keywords or words in the title of the book
|
| 41 |
Args:
|
| 42 |
search_term: A string representing a search terms. Can be part of the book title or the author's name.
|