/Creative-Writing-AI-Webapp

Creative writing sentence generator using user input prompts. Coded with OpenAI API, Stable Diffusion, HTML/CSS and Python (Flask) backend.

Primary LanguagePythonMIT LicenseMIT

Creative Writing Generator Webapp

Creative writing sentence generator using user input prompts. AI images are generated from the prompt results.

Coded using the OpenAI API, HTML/CSS and Python (Flask) backend. Powered by GPT-3.5.

AI generated images from stable diffusion.

Preview Demo (v1):

With AI-generated images (stable diffusion):

gif

Longer: gif2

Setup (local)

  1. Navigate into the project directory.

  2. Create a new virtual environment:

    $ python -m venv venv
    $ . venv/bin/activate
  3. Install the requirements:

    $ pip install -r requirements.txt

    Make sure to have API keys for Open AI and Stable Diffusion.

  4. Run the app:

    $ flask run

You can see the app at http://localhost:5000