Skip to content

jstoppa/gpthackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup the environment locally

  1. Install Python

  2. Install VScode and the Python extension (https://marketplace.visualstudio.com/items?itemName=ms-python.python)

  3. Clone repo in your local machine

git clone https://github.com/jstoppa/gpthackathon.git
  1. Navigate to the folder
cd gpthackathon
  1. Create virtual machine
python -m venv .
  1. Create an environment variable called OPENAI_API_KEY and enter the API key from the OpenAI website (you can obtain them from https://platform.openai.com/account/api-keys) Save the OPEN API Key to environment variable

  2. Open the repo in VSCode and run the file OpenAI/openai_hello_world.py to get the virtual machine started, it will most likely throw an error saying it can't find the openai package

  3. Install all packages needed by running the command below using the terminal inside VSCode

pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages