Spaces:
Sleeping
Sleeping
Update app.py
Browse files200 unmodified lines201202203204205206207208200 unmodified linesresponse = self.llm.invoke([message])# Extract only the FINAL ANSWER partfull_response = response.contentfinal_answer = full_responseif "FINAL ANSWER:" in full_response:final_answer = full_response.split("FINAL ANSWER:")[-1].strip()200 unmodified lines201202203204205206207208200 unmodified linesresponse = self.llm.invoke([message])# Extract only the FINAL ANSWER part# full_response = response.contentfinal_answer = responseif "FINAL ANSWER:" in full_response:final_answer = full_response.split("FINAL ANSWER:")[-1].strip()
app.py+2-2