Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from chatterbot.trainers import ListTrainer
|
|
| 4 |
#from chatterbot.trainers import ChatterBotCorpusTrainer
|
| 5 |
from cleaner import clean_corpus
|
| 6 |
|
| 7 |
-
chatbot = ChatBot("Chatpot", database_uri="chat.db")
|
| 8 |
|
| 9 |
trainer = ListTrainer(chatbot)
|
| 10 |
|
|
|
|
| 4 |
#from chatterbot.trainers import ChatterBotCorpusTrainer
|
| 5 |
from cleaner import clean_corpus
|
| 6 |
|
| 7 |
+
chatbot = ChatBot("Chatpot",storage_adapter='chatterbot.storage.SQLStorageAdapter', database_uri="chat.db",read_only=True)
|
| 8 |
|
| 9 |
trainer = ListTrainer(chatbot)
|
| 10 |
|