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