Update
Browse files
models.py
CHANGED
@@ -90,4 +90,8 @@ def generate(
|
|
90 |
n_ubatch=512,
|
91 |
n_batch=512,
|
92 |
)
|
93 |
-
|
|
|
|
|
|
|
|
|
|
90 |
n_ubatch=512,
|
91 |
n_batch=512,
|
92 |
)
|
93 |
+
print(prompt)
|
94 |
+
return model.create_chat_completion(messages=[{
|
95 |
+
"role": "user",
|
96 |
+
"content": prompt
|
97 |
+
}])["choices"][0]["message"]["content"]
|