CYOA_App is an interactive Flask web application that lets users embark on a choose-your-own-adventure journey. With a simple graphical user interface, users can make choices that influence the story's direction. The app leverages ChatGPT 3.5 Turbo to generate dynamic responses and Stable Diffusion or DALL-E to create accompanying images, providing a unique and engaging experience.
- Python
- Flask
- ChatGPT 3.5 Turbo
- Stable Diffusion / DALL-E
- Interactive storytelling with a simple user interface.
- Real-time story generation based on user choices.
- Dynamic image generation to visualize story segments.
app.py
: The Flask application's main entry point..env
: Environment file for API keys..gitignore
: Untracked files to ignore.static/
: Containsapp.css
andapp.js
for styling and scripts.templates/
: Containsindex.html
for the main user interface.
- Clone the repository:
git clone https://github.com/your-username/CYOA_App.git
- Install dependencies:
pip install -r requirements.txt
- Set API keys in
.env
- Start the app:
python app.py
- Visit
http://localhost:5000
Navigate the app through the web interface, make choices, and experience the story with images generated by AI.
To contribute to CYOA_App, please:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make changes and commit:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature-branch
- Submit a pull request.
- OpenAI for ChatGPT 3.5 Turbo and the Stable Diffusion / DALL-E models.
This project is open-sourced under the MIT License.