blob: ade1e0c52cd7d2443051baa8bf8a02baa1a2cc94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
# Fix by @enganese
# Import Account class from __init__.py file
from gpt4free import usesless
# Create Account and enable logging to see all the log messages (it's very interesting, try it!)
# New account credentials will be automatically saved in account.json file in such template: {"email": "username@1secmail.com", "token": "token here"}
token = usesless.Account.create(logging=True)
# Print the new token
print(token)
|