Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,10 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def get_ipl_score(query:str)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
-
"""A tool that fetches IPL match results or live scores using DuckDuckGo search.
|
| 15 |
-
Args:
|
| 16 |
-
|
| 17 |
-
"""
|
| 18 |
try:
|
| 19 |
seacrch_tool = DuckDuckGoSearchTool()
|
| 20 |
result = seacrch_tool(query)
|
|
|
|
| 11 |
@tool
|
| 12 |
def get_ipl_score(query:str)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
+
"""A tool that fetches IPL match results or live scores using DuckDuckGo search.
|
| 15 |
+
Args:
|
| 16 |
+
query: The specific IPL match or team you want to check (e.g., 'CSK vs MI live score').
|
| 17 |
+
"""
|
| 18 |
try:
|
| 19 |
seacrch_tool = DuckDuckGoSearchTool()
|
| 20 |
result = seacrch_tool(query)
|