Spaces:
Sleeping
Sleeping
Update app.py
Browse files8 unmodified lines91011121314151 unmodified line17181920212223248 unmodified lines# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef get_query_results_using_duck(query)-> dict: #it's import to specify the return type#Keep this format for the description / args / args description but feel free to modify the tool"""A tool that does nothing yetArgs:1 unmodified linearg2: the second argument"""duckTool = DuckDuckGoSearchTool()results = duckTool.run(query)return {"duckresults": results}@tooldef get_current_time_in_timezone(timezone: str) -> str:8 unmodified lines91011121314151 unmodified line171819202122238 unmodified lines# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef get_query_results_using_duck(query)-> str: #it's import to specify the return type#Keep this format for the description / args / args description but feel free to modify the tool"""A tool that does nothing yetArgs:1 unmodified linearg2: the second argument"""duckTool = DuckDuckGoSearchTool()return duckTool.run(query)@tooldef get_current_time_in_timezone(timezone: str) -> str:
app.py+2-3