Skip to content

Latest commit

 

History

History
80 lines (45 loc) · 1.56 KB

README.md

File metadata and controls

80 lines (45 loc) · 1.56 KB

Superhero Name Generator - Unleash Your Superhero Alter-Ego

-> SuperBio

This is an AI Superhero Name Generator app which uses the OpenAI GPT-3 API to give you a super hero name based on a specific characteristic/ fun trait you input in it.



Screen.Recording.2023-01-24.at.10.15.44.AM.mp4
Screen.Recording.2023-01-24.at.10.14.25.AM.mp4


It uses the Flask web framework.
Follow the instructions below to get set up.

Setup

  1. If you don’t have Python installed, install it from here

  2. Clone this repository

  3. Navigate into the project directory

    $ mkdir Superhero_Name_Generator
  4. Create a new virtual environment

    $ virtualenv newEnvironment
    $ source newEnvironment/bin/activate
  5. Install the requirements

    $ pip install -r requirements.txt
  6. Add your API key to the app.py file replacing "OPENAI API KEY"

  7. Run the app

    $ export FLASK_APP=app.py
    $ export FLASK_ENV=development
    $ flask run

You should be able to access the app at http://localhost:5000