Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def my_custom_tool(country:str, indicator:str)->str: #it's import to specify the
|
|
| 18 |
"""
|
| 19 |
search = DuckDuckGoSearchRun()
|
| 20 |
indicator_val = search.invoke(f"What is the {indicator} of {country}")
|
| 21 |
-
return f"The {indicator} of {country} is :"{
|
| 22 |
|
| 23 |
@tool
|
| 24 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 18 |
"""
|
| 19 |
search = DuckDuckGoSearchRun()
|
| 20 |
indicator_val = search.invoke(f"What is the {indicator} of {country}")
|
| 21 |
+
return f"The {indicator} of {country} is :"{indicator_val}
|
| 22 |
|
| 23 |
@tool
|
| 24 |
def get_current_time_in_timezone(timezone: str) -> str:
|