naman1102 commited on
Commit
4586c7f
·
1 Parent(s): a790815

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -20,8 +20,7 @@ You are a general AI assistant. I will ask you a question. Report your thoughts,
20
  class BasicAgent:
21
  def __init__(self):
22
  print("BasicAgent initialized.")
23
- graph = build_graph()
24
-
25
 
26
  def __call__(self, question: str, task_id: Optional[str] = None) -> str:
27
  """Run the agent and return whatever FINAL_ANSWER the graph produces."""
 
20
  class BasicAgent:
21
  def __init__(self):
22
  print("BasicAgent initialized.")
23
+ self.graph = build_graph()
 
24
 
25
  def __call__(self, question: str, task_id: Optional[str] = None) -> str:
26
  """Run the agent and return whatever FINAL_ANSWER the graph produces."""