Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ import wikipediaapi
|
|
| 39 |
def get_wikipedia_summary(query: str) -> str:
|
| 40 |
""" A tool that fetches a Wikipedia summary for a given topic.
|
| 41 |
Args:
|
| 42 |
-
query
|
| 43 |
Returns:
|
| 44 |
str: A short summary of the topic from Wikipedia or an error message if the page does not exist.
|
| 45 |
"""
|
|
|
|
| 39 |
def get_wikipedia_summary(query: str) -> str:
|
| 40 |
""" A tool that fetches a Wikipedia summary for a given topic.
|
| 41 |
Args:
|
| 42 |
+
query: The topic to search for in Wikipedia.
|
| 43 |
Returns:
|
| 44 |
str: A short summary of the topic from Wikipedia or an error message if the page does not exist.
|
| 45 |
"""
|