Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,8 +11,7 @@ class GaiaAgent:
|
|
| 11 |
self.executor = self.graph.compile()
|
| 12 |
|
| 13 |
def __call__(self, question):
|
| 14 |
-
|
| 15 |
-
result_state = self.executor.invoke(initial_state)
|
| 16 |
return result_state["final_answer"]
|
| 17 |
|
| 18 |
def run_and_submit_all(profile):
|
|
|
|
| 11 |
self.executor = self.graph.compile()
|
| 12 |
|
| 13 |
def __call__(self, question):
|
| 14 |
+
result_state = self.executor.invoke(question)
|
|
|
|
| 15 |
return result_state["final_answer"]
|
| 16 |
|
| 17 |
def run_and_submit_all(profile):
|