davidecarne commited on
Commit
141575d
·
verified ·
1 Parent(s): 7e9588d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,6 +25,8 @@ def simple_multiplier_tool(arg1:str, arg2:int)-> int: #it's import to specify th
25
  Args:
26
  arg1: the first integer
27
  arg2: the second integer
 
 
28
  """
29
  return arg1 * arg2
30
 
@@ -67,7 +69,7 @@ with open("prompts.yaml", 'r') as stream:
67
 
68
  agent = CodeAgent(
69
  model=model,
70
- tools=[final_answer, image_generation_tool, DuckDuckGoSearchTool, simple_multiplier_tool, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
71
  max_steps=6,
72
  verbosity_level=1,
73
  grammar=None,
 
25
  Args:
26
  arg1: the first integer
27
  arg2: the second integer
28
+ Returns:
29
+ An integer representing the multiplication result.
30
  """
31
  return arg1 * arg2
32
 
 
69
 
70
  agent = CodeAgent(
71
  model=model,
72
+ tools=[final_answer, image_generation_tool, DuckDuckGoSearchTool], ## add your tools here (don't remove final answer)
73
  max_steps=6,
74
  verbosity_level=1,
75
  grammar=None,