AshtonIzmev / chatgpt-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python template app for conversational bot

This uses the Flask web framework. It is inspired from quickstart tutorial.

Setup

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

  2. Clone this repository

  3. Navigate into the project directory

  4. Create a new virtual environment

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

    $ pip install -r requirements.txt
  6. Make a copy of the example environment variables file

    $ cp .env.example .env
  7. Add your [API key](https://beta.openai.com/account/api-keys to the newly created .env file

  8. Run the app

    $ ./run_local.sh

You should now be able to access the app at http://127.0.0.1:5001!

About


Languages

Language:Python 48.1%Language:HTML 34.5%Language:CSS 9.4%Language:JavaScript 3.7%Language:Shell 2.2%Language:Dockerfile 2.1%