Update app.py
Browse files
app.py
CHANGED
|
@@ -133,8 +133,8 @@ class BasicAgent:
|
|
| 133 |
|
| 134 |
|
| 135 |
# if question == "Given this table defining * on the set S = {a, b, c, d, e}\n\n|*|a|b|c|d|e|\n|---|---|---|---|---|---|\n|a|a|b|c|b|d|\n|b|b|c|a|e|c|\n|c|c|a|b|b|a|\n|d|b|e|b|e|d|\n|e|d|b|a|d|c|\n\nprovide the subset of S involved in any possible counter-examples that prove * is not commutative. Provide your answer as a comma separated list of the elements in the set in alphabetical order.":
|
| 136 |
-
if " image " not in question and " video " not in question:
|
| 137 |
-
|
| 138 |
agent_answer = self.agent.run(question)
|
| 139 |
else:
|
| 140 |
agent_answer = fixed_answer
|
|
|
|
| 133 |
|
| 134 |
|
| 135 |
# if question == "Given this table defining * on the set S = {a, b, c, d, e}\n\n|*|a|b|c|d|e|\n|---|---|---|---|---|---|\n|a|a|b|c|b|d|\n|b|b|c|a|e|c|\n|c|c|a|b|b|a|\n|d|b|e|b|e|d|\n|e|d|b|a|d|c|\n\nprovide the subset of S involved in any possible counter-examples that prove * is not commutative. Provide your answer as a comma separated list of the elements in the set in alphabetical order.":
|
| 136 |
+
# if " image " not in question and " video " not in question:
|
| 137 |
+
if question == "ssWho nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?":
|
| 138 |
agent_answer = self.agent.run(question)
|
| 139 |
else:
|
| 140 |
agent_answer = fixed_answer
|