Skip to content

shamanoor/final-grimm-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

final-grimm-prototype

How to use this project:

  1. Download the zip
  2. Download these additional files
    • download 'model-2160.data-00000-of-00001' located here and add it to the ./models/Grimm folder.
    • download 'latest_net_G.pth' file located here and add it to the ./checkpoints/pretrained folder.
  3. Install pytorch using:
  1. Install requirements: pip install -r requirements.txt
  2. Go to python console, import nltk and do nltk.download('wordnet')
  3. Go to project terminal and enter the following two arguments:
  • set FLASK_APP=grimm_writer.py
  • flask run --host=127.0.0.1 --port=5000

Then you should be able to visit the webapp at http://127.0.0.1:5000/static/generate-story.html

If not, close the connection and repeat steps 5 and 6.

To visualize what is happening inside the model you can open the visualization notebook and run it.

The demo video can be found here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published