Download ubuntu data to the cog data directory

pull/158/head
bobloy 4 years ago
parent 419863b07a
commit a2948322f9

@ -159,7 +159,9 @@ class Chatter(Cog):
return out
def _train_ubuntu(self):
trainer = UbuntuCorpusTrainer(self.chatbot)
trainer = UbuntuCorpusTrainer(
self.chatbot, ubuntu_corpus_data_directory=cog_data_path(self) / "ubuntu_data"
)
trainer.train()
return True

Loading…
Cancel
Save