Skip to content

swingchu/ChatGpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Ask ChatGPT sample code

1. Get Key from ChatGPT

2. Save key in file : .env

OPENAI_API_KEY=sk-...lxnK

3. Install python libraries

  • python.exe -m pip install --upgrade pip
  • pip install openai
  • pip install python-dotenv
  • pip install gradio

4. Run

py ./AskChatGpt.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages