Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from tools.visit_webpage import VisitWebpageTool
|
|
8 |
#from tools.web_shearch import DuckDuckGoSearchTool
|
9 |
from Gradio_UI import GradioUI
|
10 |
|
|
|
11 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
12 |
@tool
|
13 |
def my_custom_tool(x:str, y:int)-> int: #it's import to specify the return type
|
@@ -34,6 +35,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
34 |
except Exception as e:
|
35 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
36 |
|
|
|
37 |
|
38 |
final_answer = FinalAnswerTool()
|
39 |
#web_search=DuckDuckGoSearchTool()
|
|
|
8 |
#from tools.web_shearch import DuckDuckGoSearchTool
|
9 |
from Gradio_UI import GradioUI
|
10 |
|
11 |
+
'''
|
12 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
13 |
@tool
|
14 |
def my_custom_tool(x:str, y:int)-> int: #it's import to specify the return type
|
|
|
35 |
except Exception as e:
|
36 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
37 |
|
38 |
+
'''
|
39 |
|
40 |
final_answer = FinalAnswerTool()
|
41 |
#web_search=DuckDuckGoSearchTool()
|