Arafath10 commited on
Commit
e876b50
1 Parent(s): b1f4ec2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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