Spaces:
Sleeping
Sleeping
| 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 |
| 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 |