Giter VIP home page Giter VIP logo

cyoa_app's Introduction

Choose Your Own Adventure (powered by ChatGPT and Stable Diffusion) - CYOA_App

Description

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.

Technologies Used

  • Python
  • Flask
  • ChatGPT 3.5 Turbo
  • Stable Diffusion / DALL-E

Features

  • Interactive storytelling with a simple user interface.
  • Real-time story generation based on user choices.
  • Dynamic image generation to visualize story segments.

Project Structure

  • app.py: The Flask application's main entry point.
  • .env: Environment file for API keys.
  • .gitignore: Untracked files to ignore.
  • static/: Contains app.css and app.js for styling and scripts.
  • templates/: Contains index.html for the main user interface.

Installation

  1. Clone the repository: git clone https://github.com/your-username/CYOA_App.git
  2. Install dependencies: pip install -r requirements.txt
  3. Set API keys in .env
  4. Start the app: python app.py
  5. Visit http://localhost:5000

Usage

Navigate the app through the web interface, make choices, and experience the story with images generated by AI.

Contributing

To contribute to CYOA_App, please:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-branch
  3. Make changes and commit: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature-branch
  5. Submit a pull request.

Acknowledgments

  • OpenAI for ChatGPT 3.5 Turbo and the Stable Diffusion / DALL-E models.

License

This project is open-sourced under the MIT License.

cyoa_app's People

Contributors

stefisha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.