Skip to content

Commit

Permalink
[fix] uncomment essential
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualRoyalty committed Jun 9, 2022
1 parent 6423cf3 commit 64ff28f
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions services/tg_bot/handlers/chit_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,10 @@ async def process_some_audio(message: types.Voice):
'chatterbot.logic.MathematicalEvaluation',
]
)
# trainer = ChatterBotCorpusTrainer(chit_chat.storage)
# trainer.train(
# "chatterbot.corpus.english.conversations",
# "chatterbot.corpus.english.emotion",
# "chatterbot.corpus.english.greetings",
# "chatterbot.corpus.english.humor",
# "chatterbot.corpus.english.movies",
# "chatterbot.corpus.english.trivia",
# "chatterbot.corpus.english.botprofile",
# "chatterbot.corpus.english.ai",
# )
trainer = ChatterBotCorpusTrainer(chit_chat.storage)
trainer.train(
"chatterbot.corpus.english.conversations",
"chatterbot.corpus.english.emotion",
"chatterbot.corpus.english.greetings",
"chatterbot.corpus.english.humor"
)

0 comments on commit 64ff28f

Please sign in to comment.