-> 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.
-
If you don’t have Python installed, install it from here
-
Clone this repository
-
Navigate into the project directory
$ mkdir Superhero_Name_Generator
-
Create a new virtual environment
$ virtualenv newEnvironment $ source newEnvironment/bin/activate
-
Install the requirements
$ pip install -r requirements.txt
-
Add your API key to the app.py file replacing "OPENAI API KEY"
-
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