mirror of https://github.com/xtekky/gpt4free.git
Use @staticmethod decorator
This commit is contained in:
parent
a5b4d8b10c
commit
f1a2060bfb
|
@ -9,6 +9,7 @@ from json import loads
|
|||
|
||||
|
||||
class Account:
|
||||
@staticmethod
|
||||
def create(proxy = None, logging = False):
|
||||
|
||||
proxies = {
|
||||
|
@ -79,6 +80,7 @@ class Account:
|
|||
|
||||
|
||||
class StreamingCompletion:
|
||||
@staticmethod
|
||||
def create(
|
||||
token = None,
|
||||
chatId = None,
|
||||
|
|
Loading…
Reference in New Issue