Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit b194d7b

Browse files
committed
2 parents 2fb834e + b279fda commit b194d7b

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<p align="center">
2-
<a href="https://pepy.tech/project/chatgpt/"><img alt="Downloads" src="https://img.shields.io/badge/dynamic/json?style=flat-square&maxAge=3600&label=downloads&query=$.total_downloads&url=https://api.pepy.tech/api/projects/chatgpt"></a>
32
<a href="https://pypi.python.org/pypi/chatgpt/"><img alt="PyPi" src="https://img.shields.io/pypi/v/chatgpt.svg?style=flat-square"></a>
43
<a href="https://github.com/labteral/chatgpt-python/blob/master/LICENSE"><img alt="License" src="https://img.shields.io/github/license/labteral/chatgpt-python.svg?style=flat-square"></a>
54
</p>
@@ -12,15 +11,23 @@
1211
<a href="https://www.buymeacoffee.com/brunneis" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="35px"></a>
1312
</p>
1413

15-
## Install
14+
## Install or update
1615
```bash
1716
pip install -U chatgpt
1817
```
1918

20-
## Get the credentials
21-
1. Login into https://chat.openai.com/chat with your browser
22-
2. Paste the content of [interceptor.js](/chatgpt/interceptor.js) in the browser console
23-
3. Store the JSON in a file called `config.json`
19+
20+
## Create a file with your credentials
21+
> :warning: &nbsp; Please, update the library. Note the change in the config file.
22+
23+
Create the file `config.json` in your working directory:
24+
25+
```json
26+
{
27+
"email": "[email protected]",
28+
"password": "xxx"
29+
}
30+
```
2431

2532

2633
## Usage
@@ -49,5 +56,3 @@ print(conversation.chat("What's the color of the sky?"))
4956
conversation.reset()
5057
print(conversation.chat("What's the color of the sun?"))
5158
```
52-
53-

chatgpt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
from .chatgpt import *
55

6-
__version__ = '0.2212.1'
6+
__version__ = '1.2212.0'

0 commit comments

Comments
 (0)