CindyDelage commited on
Commit
a15b2a1
·
verified ·
1 Parent(s): bb6e93a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,7 @@ import requests
4
  import inspect
5
  import pandas as pd
6
  from tools import (
 
7
  Web_research,
8
  image_interpreter,
9
  Wikipedia_reader,
@@ -34,6 +35,7 @@ class BasicAgent:
34
  def __init__(self):
35
  print("BasicAgent initialized.")
36
  # Load tools only once
 
37
  self.web_search = Web_research()
38
  self.image_tool = image_interpreter()
39
  self.python_code_tool = PythonInterpreterTool()
 
4
  import inspect
5
  import pandas as pd
6
  from tools import (
7
+ is_commutative,
8
  Web_research,
9
  image_interpreter,
10
  Wikipedia_reader,
 
35
  def __init__(self):
36
  print("BasicAgent initialized.")
37
  # Load tools only once
38
+ self.commutative =is_commutative()
39
  self.web_search = Web_research()
40
  self.image_tool = image_interpreter()
41
  self.python_code_tool = PythonInterpreterTool()