Seb1101 commited on
Commit
a6abaec
·
verified ·
1 Parent(s): fc5c23f

omg finally?

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ import math
8
  from Gradio_UI import GradioUI
9
 
10
  @tool
11
- def my_custom_tool(number1:int, number2:int)-> str:
12
  """A tool that calculates the greatest common divisor between 2 numbers
13
  Args:
14
  number1: the first argument
@@ -54,7 +54,7 @@ with open("prompts.yaml", 'r') as stream:
54
 
55
  agent = CodeAgent(
56
  model=model,
57
- tools=[final_answer], ## add your tools here (don't remove final answer)
58
  max_steps=6,
59
  verbosity_level=1,
60
  grammar=None,
 
8
  from Gradio_UI import GradioUI
9
 
10
  @tool
11
+ def gcd_epic_calculation(number1:int, number2:int)-> str:
12
  """A tool that calculates the greatest common divisor between 2 numbers
13
  Args:
14
  number1: the first argument
 
54
 
55
  agent = CodeAgent(
56
  model=model,
57
+ tools=[final_answer, gcd_epic_calculation],
58
  max_steps=6,
59
  verbosity_level=1,
60
  grammar=None,