Download ubuntu data to the cog data directory
This commit is contained in:
parent
419863b07a
commit
a2948322f9
@ -159,7 +159,9 @@ class Chatter(Cog):
|
|||||||
return out
|
return out
|
||||||
|
|
||||||
def _train_ubuntu(self):
|
def _train_ubuntu(self):
|
||||||
trainer = UbuntuCorpusTrainer(self.chatbot)
|
trainer = UbuntuCorpusTrainer(
|
||||||
|
self.chatbot, ubuntu_corpus_data_directory=cog_data_path(self) / "ubuntu_data"
|
||||||
|
)
|
||||||
trainer.train()
|
trainer.train()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user