mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Merge pull request #203 from AymaneHrouch/static_methods
Use @staticmethod decorator
This commit is contained in:
commit
814c960998
@ -9,6 +9,7 @@ from json import loads
|
|||||||
|
|
||||||
|
|
||||||
class Account:
|
class Account:
|
||||||
|
@staticmethod
|
||||||
def create(proxy = None, logging = False):
|
def create(proxy = None, logging = False):
|
||||||
|
|
||||||
proxies = {
|
proxies = {
|
||||||
@ -79,6 +80,7 @@ class Account:
|
|||||||
|
|
||||||
|
|
||||||
class StreamingCompletion:
|
class StreamingCompletion:
|
||||||
|
@staticmethod
|
||||||
def create(
|
def create(
|
||||||
token = None,
|
token = None,
|
||||||
chatId = None,
|
chatId = None,
|
||||||
|
Loading…
Reference in New Issue
Block a user