Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ class BasicAgent:
|
|
| 29 |
print("BasicAgent initialized.")
|
| 30 |
|
| 31 |
def answer_question(self, question, question_attach):
|
| 32 |
-
if question.
|
| 33 |
return reverse_string(question)
|
| 34 |
else:
|
| 35 |
return wiki_search(question)
|
|
|
|
| 29 |
print("BasicAgent initialized.")
|
| 30 |
|
| 31 |
def answer_question(self, question, question_attach):
|
| 32 |
+
if question.startswith("."):
|
| 33 |
return reverse_string(question)
|
| 34 |
else:
|
| 35 |
return wiki_search(question)
|