Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.08 KB

OpenAI API DAPP - Python Dapp

Setup

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

  2. Clone this repository in your terminal

    $ git clone https://github.com/Ethan-Castro/AgingAI-update.git
  3. Navigate into the project directory

    $ cd AgingAI-update
    1. Make a copy of the example environment variables file
    $ cp .env.example .env
  4. Add your API key to the newly created .env file

    $ export OPENAI_API_KEY=<insert your API key>
    
  5. Run the app

  $ python -m venv venv
  $. venv/bin/activate
  $ pip install -r requirements.txt
  $ flask run

You should now be able to access the app at http://localhost:5000! For the full context behind this example app, check out the tutorial.

FOLLOW THIS FOR CLARITY. REPLACE FILES WITH MINE https://drive.google.com/file/d/1FIvB8pw-1GSyzn_-5mUMqOUu9Ip30GgK/view?usp=sharing