arnavagarwal78 commited on
Commit
70c2beb
·
verified ·
1 Parent(s): e8292a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -36,8 +36,8 @@ search_tool = DuckDuckGoSearchTool()
36
  #google_tool = GoogleSearchTool()
37
  python_tool = PythonInterpreterTool()
38
 
39
- # Calculator (from Hugging Face Hub)
40
- calculator_tool = Tool.from_langchain(load_tools(["llm-math"])[0])
41
 
42
 
43
  image_tool_collection = ToolCollection.from_hub("huggingface-tools/diffusion-tools-6630bb19a942c2306a2cdb6f")
@@ -66,11 +66,11 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
66
  final_answer_tool,
67
  search_tool,
68
  python_tool,
69
- calculator_tool,
70
- summarizer_tool,
71
- unit_converter_tool,
72
- datetime_tool,
73
- *image_tool_collection.tools # Add all image tools from the collection
74
  ]
75
  agent = CodeAgent(
76
  tools=all_tools,
 
36
  #google_tool = GoogleSearchTool()
37
  python_tool = PythonInterpreterTool()
38
 
39
+ # # Calculator (from Hugging Face Hub)
40
+ # calculator_tool = Tool.from_langchain(load_tools(["llm-math"])[0])
41
 
42
 
43
  image_tool_collection = ToolCollection.from_hub("huggingface-tools/diffusion-tools-6630bb19a942c2306a2cdb6f")
 
66
  final_answer_tool,
67
  search_tool,
68
  python_tool,
69
+ # calculator_tool,
70
+ # summarizer_tool,
71
+ # unit_converter_tool,
72
+ # datetime_tool,
73
+ # *image_tool_collection.tools # Add all image tools from the collection
74
  ]
75
  agent = CodeAgent(
76
  tools=all_tools,