Python version 3.10.5, Flask and OpenAI Image Generator API was used to make a web app that takes a user's input and creates a unique image.
-
Clone this repository.
-
Using the shell commands, create a new virtual environment and then activate that environnment. MacOS commands are as follows:
$ python -m venv .venv
$ . .venv/bin/activate
- Install the required libraries.
$ pip install -r requirements.txt
- Run the app in debug mode.
$ flask --debug run