Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +from nlp.olami import Olami
- def reply_handler(bot, update):
- """Reply message."""
- text = update.message.text
- - text = update.message.text
- - update.message.reply_text(text)
- + reply = Olami().nli(text)
- + update.message.reply_text(reply)
Add Comment
Please, Sign In to add comment