Link to bot account - AI Narendra Modi
- Generates tweets and speech for Current Indian PM Narendra Modi using RNNs and post them to twitter.
- Tweets of PM narendra modi were extracted and used to train the model.
- Using this code a bot can be made that posts generated tweets after a certain interval
- This bot generates speech that is uploaded to pastebin and link is posted to twitter
- This bot can also with reply to some mentions ( check give_mentions_reply.py )
- This bot was tested by hosting it on heroku , instructions to host on heroku can be found by Deploy to heroku
Following libraries were used in this project:
- Save your twitter api keys as environment variables ( can be configured in file bot.py )
- Information on how to get twitter api keys - Get Twitter Keys
- Pastebin developer key is also needed so that speeches can be uploaded and posted by the bot
- Follow instructions written in last_seen_id.txt
- If you want to use heroku use the above mentioned link
- To use locally use command python bot.py