/GRANNY-GPT2-Based-Multiple_Genre-Story-Generator-Web-Application

A Web Application to generate multiple genre stories based on Open AI's GPT-2 Model

Primary LanguageJupyter NotebookMIT LicenseMIT

GRANNY

A Web Application to generate multiple genre stories based on GPT2 Model

Built with ❤︎ | Inspired from the stories of my Granny 😉


Sneak Peeks

- Scary Story Generation

Scary Story Generation

- Funny Story Generation

Funny Story Generation

- Scifi Story Generation

Scifi Story Generation

- Other Useful Features
  • Narrate Stories using Text to Speech.
  • Download Stories as Text files.
  • Get a globally sharable URL and QR code to share stories with anyone.
  • Get Suggestions for possible Grammatical/Spelling errors.
  • Add your generated stories to a publicly accessible "Wall Of Stories".
  • Specify a word limit for your story.

Technologies

  • Back end

    • [Flask]- For finetuning model and generating text.
  • Front end

    • [HTML] - For Structuring
    • [CSS] - For Styling
    • [JavaScript] - For adding Functionality

Make it Yours

Clone the project

# clone it
git clone https://https://github.com/ekagrashukla/GRANNY-GPT2-Based-Multiple_Genre-Story-Generator-Web-Application.git
cd GRANNY-GPT2-Based-Multiple_Genre-Story-Generator-Web-Application

Run

# Open GRANNY.ipynb 
# Run all the cells one by one
# Uncomment the finetuning cells to finetune the model based on the text-corpus data provided
# Click on the Ngrok URL generated at the end of execution of last cell to access the Web App

Please Star the Repository, if you find it interesting.