Spaces:
Sleeping
Sleeping
Update hackaprompt/completers.py
Browse files
hackaprompt/completers.py
CHANGED
@@ -77,7 +77,7 @@ class GPTCompletor(TextCompletion):
|
|
77 |
|
78 |
|
79 |
class ChatGPTCompletor(TextCompletion):
|
80 |
-
def __init__(self,
|
81 |
self.openai_api_key = os.getenv("OPENAI_API_KEY")
|
82 |
self.model = model
|
83 |
|
|
|
77 |
|
78 |
|
79 |
class ChatGPTCompletor(TextCompletion):
|
80 |
+
def __init__(self, model):
|
81 |
self.openai_api_key = os.getenv("OPENAI_API_KEY")
|
82 |
self.model = model
|
83 |
|