Update app.py
Browse files
app.py
CHANGED
@@ -73,11 +73,11 @@ async def complete(gen:GenModel):
|
|
73 |
st = time()
|
74 |
output = llama.create_chat_completion(
|
75 |
messages=[
|
76 |
-
{"role": "system", "content": gen
|
77 |
-
{"role": "user", "content": gen
|
78 |
],
|
79 |
-
temperature=gen
|
80 |
-
seed=gen
|
81 |
#stream=True
|
82 |
)
|
83 |
"""
|
|
|
73 |
st = time()
|
74 |
output = llama.create_chat_completion(
|
75 |
messages=[
|
76 |
+
{"role": "system", "content": gen.system},
|
77 |
+
{"role": "user", "content": gen.question},
|
78 |
],
|
79 |
+
temperature=gen.temperature,
|
80 |
+
seed=gen.seed,
|
81 |
#stream=True
|
82 |
)
|
83 |
"""
|