Update
Browse files
models.py
CHANGED
@@ -91,5 +91,4 @@ def generate(
|
|
91 |
n_ubatch=512,
|
92 |
n_batch=512,
|
93 |
)
|
94 |
-
|
95 |
-
return "output"
|
|
|
91 |
n_ubatch=512,
|
92 |
n_batch=512,
|
93 |
)
|
94 |
+
return model.create_chat_completion(prompt)["choices"][0]["message"]["content"]
|
|