Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ class BasicAgent:
|
|
18 |
def __call__(self, question: str) -> str:
|
19 |
# runs graph on each question
|
20 |
answer = self.graph.run(question)
|
21 |
-
return
|
22 |
|
23 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
24 |
"""
|
|
|
18 |
def __call__(self, question: str) -> str:
|
19 |
# runs graph on each question
|
20 |
answer = self.graph.run(question)
|
21 |
+
return answer.replace("FINAL ANSWER:","",1).strip()
|
22 |
|
23 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
24 |
"""
|