Spaces:
Sleeping
Sleeping
Update wikipediaLookup
Browse files- wikipediaLookup +1 -1
wikipediaLookup
CHANGED
@@ -2,7 +2,7 @@ from smolagents.tools import Tool
|
|
2 |
import wikipedia
|
3 |
|
4 |
@tool
|
5 |
-
class WikipediaLookupTool(
|
6 |
name = "wikipedia_lookup"
|
7 |
description = "Look up content from the English Wikipedia based on a query string."
|
8 |
|
|
|
2 |
import wikipedia
|
3 |
|
4 |
@tool
|
5 |
+
class WikipediaLookupTool(Tool):
|
6 |
name = "wikipedia_lookup"
|
7 |
description = "Look up content from the English Wikipedia based on a query string."
|
8 |
|