selim-ba commited on
Commit
8be8dfa
·
verified ·
1 Parent(s): 44e7402

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -98,11 +98,11 @@ class SuperSmartAgent:
98
 
99
  graph = builder.compile()
100
 
101
- def __call__(self, question: str) -> str:
102
- # use self.graph to process the question
103
- state = {"question": question}
104
- result = self.graph.invoke(state)
105
- return result.get("response", "No answer generated.")
106
 
107
 
108
  ########################################
 
98
 
99
  graph = builder.compile()
100
 
101
+ def __call__(self, question: str) -> str:
102
+ # use self.graph to process the question
103
+ state = {"question": question}
104
+ result = self.graph.invoke(state)
105
+ return result.get("response", "No answer generated.")
106
 
107
 
108
  ########################################