Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 602 Bytes

File metadata and controls

24 lines (15 loc) · 602 Bytes

ChatGPT Python CLI

If chat.openai.com is down, you can keep chatting with OpenAI's chat functions using this Python script and your personal OpenAI API Key.

Requirements

  • Python 3.X
  • OpenAI Python Package 0.27.0+

Usage

1. Pull the Script & Install Packages

git clone https://github.com/draaslan/chatgpt-cli.git
cd chatgpt-cli
pip install -r requirements.txt

2. OpenAI Credentials

Add your OpenAI API Key to chat.py file.

3. Run the Script

python chat.py
chatgpt-cli.mov