Write like Shakespeare with the power of Recurrent Neural Networks. A flask webapp equipped with a tensorflow RNN model that takes in sentence and generates poem like the great poet William Shakespeare.
Checkout the app: https://ml-poem-generator.herokuapp.com/
Checkout the article: https://digitaltesseract.com/2020/05/26/sentence-generation-using-rnn/
- Install virtualenv
pip install virtualenv
- Create a virtual environment (Here the name of the virtualenv is 'poemgenerator' you can name it whatever you want and it will be created in your pwd)
virtualenv poemgenerator
- Start the virtual environment
- Linux/Mac
source poemgenerator/bin/activate
- Windows
poemgenerator\Scripts\activate
pip install -r requirements.txt
python train.py
python generate.py
python app.py