Spaces:
Sleeping
Sleeping
File size: 212 Bytes
e552ac2 |
1 2 3 4 5 6 |
def extract_final_answer(text):
if "FINAL ANSWER:" in text:
start_index = text.find("FINAL ANSWER:") + len("FINAL ANSWER:")
return text[start_index:].strip()
else:
return None |