Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,7 @@ from chatterbot.trainers import ChatterBotCorpusTrainer
|
|
6 |
|
7 |
chatbot = ChatBot("Chatpot",storage_adapter='chatterbot.storage.SQLStorageAdapter',database_uri = 'sqlite:///database.sqlite3',
|
8 |
logic_adapters=[ {
|
9 |
-
"import_path": "chatterbot.logic.BestMatch"
|
10 |
-
"statement_comparison_function": chatterbot.comparisons.LevenshteinDistance,
|
11 |
-
"response_selection_method": chatterbot.response_selection.get_first_response
|
12 |
}
|
13 |
])
|
14 |
|
|
|
6 |
|
7 |
chatbot = ChatBot("Chatpot",storage_adapter='chatterbot.storage.SQLStorageAdapter',database_uri = 'sqlite:///database.sqlite3',
|
8 |
logic_adapters=[ {
|
9 |
+
"import_path": "chatterbot.logic.BestMatch"
|
|
|
|
|
10 |
}
|
11 |
])
|
12 |
|