Download ubuntu data to the cog data directory

This commit is contained in:
bobloy 2020-11-06 12:42:03 -05:00
parent 419863b07a
commit a2948322f9

View File

@ -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