Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,14 +7,12 @@ from tools.final_answer import FinalAnswerTool
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
| 10 |
-
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
def wikipedia_page_tool(page: str)-> str:
|
| 13 |
-
"""
|
| 14 |
-
Retrieve a Wikipedia page. Useful for learning about a particular concept that isn't private information.
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
"""
|
| 19 |
import wikipedia
|
| 20 |
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
|
|
|
| 10 |
@tool
|
| 11 |
def wikipedia_page_tool(page: str)-> str:
|
| 12 |
+
"""Retrieve a Wikipedia page. Useful for learning about a particular concept that isn't private information.
|
|
|
|
| 13 |
|
| 14 |
+
Args:
|
| 15 |
+
page (str): Title of the page to read.
|
| 16 |
"""
|
| 17 |
import wikipedia
|
| 18 |
|