bstraehle commited on
Commit
75b6552
·
verified ·
1 Parent(s): 45b7679

Update util.py

Browse files
Files changed (1) hide show
  1. util.py +4 -6
util.py CHANGED
@@ -26,17 +26,15 @@ def get_final_answer(question, initial_answer):
26
  - 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.
27
  - In case of a single word answer, start the word with an uppercase letter.
28
 
29
- **Question:** """ +
30
  question + """
31
 
32
- **Initial answer:** """ +
33
  initial_answer + """
34
 
35
- **Example 1:** How many 'r' are in strawberry? 3
36
- **Example 2:** What is the opposite of white? Black
37
  **Example 3:** What is the biggest city in California? Los Angeles
38
- **Example 4:** What is the superlative of good? Best
39
- **Example 5:** How many states are in the USA? 50
40
 
41
  **Final answer:**
42
 
 
26
  - 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.
27
  - In case of a single word answer, start the word with an uppercase letter.
28
 
29
+ **Question:** """
30
  question + """
31
 
32
+ **Initial answer:** """
33
  initial_answer + """
34
 
35
+ **Example 1:** What is the opposite of white? Black
36
+ **Example 2:** How many 'r's are in the word strawberry? 3
37
  **Example 3:** What is the biggest city in California? Los Angeles
 
 
38
 
39
  **Final answer:**
40