Update app.py
Browse files
app.py
CHANGED
|
@@ -1009,12 +1009,12 @@ class BasicAgent:
|
|
| 1009 |
# if question != "aalskdalsdh" and filename == "":
|
| 1010 |
if question in [
|
| 1011 |
"Examine the video at https://www.youtube.com/watch?v=1htKBjuUWec.\n\nWhat does Teal'c say in response to the question \"Isn't that hot?\"",
|
| 1012 |
-
"Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?",
|
| 1013 |
-
"Where were the Vietnamese specimens described by Kuznetzov in Nedoshivina's 2010 paper eventually deposited? Just give me the city name without abbreviations.",
|
| 1014 |
-
"What is the first name of the only Malko Competition recipient from the 20th Century (after 1977) whose nationality on record is a country that no longer exists?",
|
| 1015 |
-
"How many studio albums were published by Mercedes Sosa between 2000 and 2009 (included)? You can use the latest 2022 version of english wikipedia.",
|
| 1016 |
-
"What country had the least number of athletes at the 1928 Summer Olympics? If there's a tie for a number of athletes, return the first in alphabetical order. Give the IOC country code as your answer.",
|
| 1017 |
-
""".rewsna eht sa "tfel" drow eht fo etisoppo eht etirw ,ecnetnes siht dnatsrednu uoy fI""",
|
| 1018 |
]:
|
| 1019 |
|
| 1020 |
# time.sleep(60)
|
|
@@ -1056,9 +1056,9 @@ class BasicAgent:
|
|
| 1056 |
if response["output"].strip() in self.letters_to_number_mapping:
|
| 1057 |
response["output"] = self.letters_to_number_mapping[response["output"]]
|
| 1058 |
|
| 1059 |
-
agent_answer = response["output"]
|
| 1060 |
|
| 1061 |
-
|
| 1062 |
|
| 1063 |
# agent_answer = str(df)
|
| 1064 |
# agent_answer = str(response.status_code) + " - " + task_id
|
|
|
|
| 1009 |
# if question != "aalskdalsdh" and filename == "":
|
| 1010 |
if question in [
|
| 1011 |
"Examine the video at https://www.youtube.com/watch?v=1htKBjuUWec.\n\nWhat does Teal'c say in response to the question \"Isn't that hot?\"",
|
| 1012 |
+
# "Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?",
|
| 1013 |
+
# "Where were the Vietnamese specimens described by Kuznetzov in Nedoshivina's 2010 paper eventually deposited? Just give me the city name without abbreviations.",
|
| 1014 |
+
# "What is the first name of the only Malko Competition recipient from the 20th Century (after 1977) whose nationality on record is a country that no longer exists?",
|
| 1015 |
+
# "How many studio albums were published by Mercedes Sosa between 2000 and 2009 (included)? You can use the latest 2022 version of english wikipedia.",
|
| 1016 |
+
# "What country had the least number of athletes at the 1928 Summer Olympics? If there's a tie for a number of athletes, return the first in alphabetical order. Give the IOC country code as your answer.",
|
| 1017 |
+
# """.rewsna eht sa "tfel" drow eht fo etisoppo eht etirw ,ecnetnes siht dnatsrednu uoy fI""",
|
| 1018 |
]:
|
| 1019 |
|
| 1020 |
# time.sleep(60)
|
|
|
|
| 1056 |
if response["output"].strip() in self.letters_to_number_mapping:
|
| 1057 |
response["output"] = self.letters_to_number_mapping[response["output"]]
|
| 1058 |
|
| 1059 |
+
# agent_answer = response["output"]
|
| 1060 |
|
| 1061 |
+
agent_answer = str(response)
|
| 1062 |
|
| 1063 |
# agent_answer = str(df)
|
| 1064 |
# agent_answer = str(response.status_code) + " - " + task_id
|