moriire commited on
Commit
4b8eb16
1 Parent(s): 998ebc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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['system']},
77
- {"role": "user", "content": gen['question']},
78
  ],
79
- temperature=gen['temperature'],
80
- seed=gen['seed'],
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
  """