Skip to content

Commit

Permalink
updated quora readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sudouser777 committed May 1, 2023
1 parent 136c422 commit 1eefa09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions gpt4free/quora/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,13 @@ poe.chat('who won the football world cup most?')
# new bot creation
poe.create_bot('new_bot_name', prompt='You are new test bot', base_model='gpt-3.5-turbo')

# delete account
poe.delete_account()
```

### Deleting the Poe Account
```python
from gpt4free import quora

quora.Account.delete(token='')
```
4 changes: 3 additions & 1 deletion testing/poe_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import sleep

from gpt4free import quora
from gpt4free import quora

token = quora.Account.create(proxy=None, logging=True)
print('token', token)
Expand All @@ -9,3 +9,5 @@

for response in quora.StreamingCompletion.create(model='ChatGPT', prompt='hello world', token=token):
print(response.text, flush=True)

quora.Account.delete(token)

0 comments on commit 1eefa09

Please sign in to comment.