Guest User

Untitled

a guest
Jun 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. +from nlp.olami import Olami
  2.  
  3. def reply_handler(bot, update):
  4. """Reply message."""
  5. text = update.message.text
  6. - text = update.message.text
  7. - update.message.reply_text(text)
  8. + reply = Olami().nli(text)
  9. + update.message.reply_text(reply)
Add Comment
Please, Sign In to add comment