- Install Pipenv:
> pip install pipenv
- Installing the required Python packages using Pipenv:
> pipenv install
- Start the Pipenv virtual environment:
> pipenv shell
- Set OpenAI API key as an environment variable:
export OPENAI_API_KEY="THE KEY"
- Start the flask backend:
> python app.py
- Open index.html in a browser (tested in Chrome) and type in "Hi"