Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ async def generate(gen:GenModel):
|
|
99 |
gen.seed: int = 42
|
100 |
try:
|
101 |
st = time()
|
102 |
-
output = llm_generate.
|
103 |
messages=[
|
104 |
{"role": "system", "content": gen.system},
|
105 |
{"role": "user", "content": gen.question},
|
|
|
99 |
gen.seed: int = 42
|
100 |
try:
|
101 |
st = time()
|
102 |
+
output = llm_generate.create_chat_completion(
|
103 |
messages=[
|
104 |
{"role": "system", "content": gen.system},
|
105 |
{"role": "user", "content": gen.question},
|