Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,9 @@ from Gradio_UI import GradioUI
|
|
12 |
@tool
|
13 |
def web_search_tool(search_text:str)-> str: #it's import to specify the return type
|
14 |
# Keep this format for the description / args / args description but feel free to modify the tool
|
15 |
-
"""A tool that
|
16 |
Args:
|
17 |
-
search_text:
|
18 |
"""
|
19 |
try:
|
20 |
# Create a search object
|
|
|
12 |
@tool
|
13 |
def web_search_tool(search_text:str)-> str: #it's import to specify the return type
|
14 |
# Keep this format for the description / args / args description but feel free to modify the tool
|
15 |
+
"""A tool that takes user's query and performs a web search on it.
|
16 |
Args:
|
17 |
+
search_text: A string representing a search query from user.
|
18 |
"""
|
19 |
try:
|
20 |
# Create a search object
|