Update app.py
Browse files
app.py
CHANGED
|
@@ -46,9 +46,9 @@ class BasicAgent:
|
|
| 46 |
|
| 47 |
|
| 48 |
def answer_question(self, question, question_attach):
|
| 49 |
-
print(question)
|
| 50 |
category = self.classify_category(question)
|
| 51 |
-
print(category)
|
| 52 |
if category == "web_search":
|
| 53 |
return web_search(question)
|
| 54 |
elif category == "wiki_search":
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
def answer_question(self, question, question_attach):
|
| 49 |
+
print("Q: "+question)
|
| 50 |
category = self.classify_category(question)
|
| 51 |
+
print("Category: "+category)
|
| 52 |
if category == "web_search":
|
| 53 |
return web_search(question)
|
| 54 |
elif category == "wiki_search":
|