This project is created for educational purposes only. It generates AI-based stories using a pre-trained GPT-2 model.
π Credits & Licenses
- GPT-2 (gpt2-medium) β Developed by OpenAI, available via HuggingFace, licensed under the MIT License
- Transformers Library β by Hugging Face, licensed under the Apache 2.0 License
- Flask β Licensed under the BSD 3-Clause License
- PyTorch β Developed by Meta AI, licensed under the BSD 3-Clause License
- GitHub: https://github.com/pytorch/pytorch
- License: BSD-3-Clause License
I thank all these open-source libraries and their contributors for making this project possible. Steps to Run the AI Story Generator Locally :
git clone https://github.com/TheSlayer7/Story-GEN-AI.git
cd Story-GEN-AIpython -m venv venvActivate it:
-
Windows
venv\Scripts\activate
-
macOS/Linux
source venv/bin/activate
pip install -r requirements.txtcd backend
python app.pyOpen a new terminal and run:
cd frontend
npm install
npm run devhttp://localhost:5173