Spaces:
Paused
Paused
Update util.py
Browse files
util.py
CHANGED
|
@@ -22,9 +22,11 @@ def get_final_answer(question, initial_answer):
|
|
| 22 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 23 |
**Question:** """ + question + """
|
| 24 |
**Initial answer:** """ + initial_answer + """
|
| 25 |
-
**Example 1:** How many
|
| 26 |
**Example 2:** What is the opposite of white? Black
|
| 27 |
**Example 3:** What is the biggest city in California? Los Angeles
|
|
|
|
|
|
|
| 28 |
**Final answer:**
|
| 29 |
"""
|
| 30 |
|
|
|
|
| 22 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 23 |
**Question:** """ + question + """
|
| 24 |
**Initial answer:** """ + initial_answer + """
|
| 25 |
+
**Example 1:** How many 'r' are in strawberry? 3
|
| 26 |
**Example 2:** What is the opposite of white? Black
|
| 27 |
**Example 3:** What is the biggest city in California? Los Angeles
|
| 28 |
+
**Example 4:** What is the superlative of good? Best
|
| 29 |
+
**Example 5:** How many states are in the USA? 50
|
| 30 |
**Final answer:**
|
| 31 |
"""
|
| 32 |
|