Skip to content

Ethan-Castro/AgingAI-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published