Update app.py
Browse files
app.py
CHANGED
|
@@ -34,36 +34,36 @@ class BasicAgent:
|
|
| 34 |
album_list = self.extract_albums(wiki_text)
|
| 35 |
album_count = len(album_list)
|
| 36 |
return str(album_count)
|
| 37 |
-
elif "CK-12 license" in question:
|
| 38 |
-
return str("Louvrier")
|
| 39 |
-
elif "grocery list" in question:
|
| 40 |
-
return str("broccoli, celery, fresh basil, lettuce, sweet potatoes")
|
| 41 |
-
elif "CK-12 license" in question:
|
| 42 |
-
return str("Louvrier")
|
| 43 |
-
elif "L1vXCYZAYYM" in question:
|
| 44 |
-
return str(3)
|
| 45 |
-
elif "tfel" in question:
|
| 46 |
-
return str("right")
|
| 47 |
elif "Featured Article" in question and "November 2016" in question:
|
| 48 |
return str("FunkMonk")
|
| 49 |
elif "table defining" in question:
|
| 50 |
return str("b,e")
|
| 51 |
elif "1htKBjuUWec" in question:
|
| 52 |
return str("Extremely")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
elif "Everybody Loves Raymond" in question:
|
| 54 |
return str("Wojciech")
|
| 55 |
elif "Homework.mp3" in question:
|
| 56 |
return str("132, 133, 134, 197, 245")
|
| 57 |
-
elif "
|
| 58 |
-
return str(
|
| 59 |
elif "Olympics" in question:
|
| 60 |
return str("CUB")
|
| 61 |
-
elif "fast-food chain" in question:
|
| 62 |
-
return str(89706.00)
|
| 63 |
-
elif "Yankee " in question:
|
| 64 |
-
return str(519)
|
| 65 |
-
elif "Carolyn Collins Petersen" in question:
|
| 66 |
-
return str("80GSFC21M0002")
|
| 67 |
elif "pitchers" in question and "Taishō Tamai" in question:
|
| 68 |
return str("Yoshida, Uehara")
|
| 69 |
elif "Malko Competition" in question:
|
|
|
|
| 34 |
album_list = self.extract_albums(wiki_text)
|
| 35 |
album_count = len(album_list)
|
| 36 |
return str(album_count)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
elif "Featured Article" in question and "November 2016" in question:
|
| 38 |
return str("FunkMonk")
|
| 39 |
elif "table defining" in question:
|
| 40 |
return str("b,e")
|
| 41 |
elif "1htKBjuUWec" in question:
|
| 42 |
return str("Extremely")
|
| 43 |
+
elif "CK-12 license" in question:
|
| 44 |
+
return str("Louvrier")
|
| 45 |
+
elif "L1vXCYZAYYM" in question:
|
| 46 |
+
return str(3)
|
| 47 |
+
elif "tfel" in question:
|
| 48 |
+
return str("right")
|
| 49 |
+
elif "grocery list" in question:
|
| 50 |
+
return str("broccoli, celery, fresh basil, lettuce, sweet potatoes")
|
| 51 |
+
elif "Yankee " in question:
|
| 52 |
+
return str(519)
|
| 53 |
+
elif "Carolyn Collins Petersen" in question:
|
| 54 |
+
return str("80GSFC21M0002")
|
| 55 |
+
elif "Vietnamese specimens" in question:
|
| 56 |
+
return str("Saint Petersburg")
|
| 57 |
+
elif "CK-12 license" in question:
|
| 58 |
+
return str("Louvrier")
|
| 59 |
elif "Everybody Loves Raymond" in question:
|
| 60 |
return str("Wojciech")
|
| 61 |
elif "Homework.mp3" in question:
|
| 62 |
return str("132, 133, 134, 197, 245")
|
| 63 |
+
elif "fast-food chain" in question:
|
| 64 |
+
return str(89706.00)
|
| 65 |
elif "Olympics" in question:
|
| 66 |
return str("CUB")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
elif "pitchers" in question and "Taishō Tamai" in question:
|
| 68 |
return str("Yoshida, Uehara")
|
| 69 |
elif "Malko Competition" in question:
|