Médéric Hurier (Fmind) commited on
Commit
70d13a5
·
1 Parent(s): 03cbf3b
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -77,9 +77,7 @@ def answer(message: str, history: list[tuple[str, str]]) -> str:
77
  messages += [ChatCompletionUserMessageParam(role="user", content=message)]
78
  # response
79
  response = client.chat.completions.create(
80
- model=MODEL_NAME,
81
- messages=messages,
82
- temperature=MODEL_TEMPERATURE,
83
  )
84
  logging.info("Response: %s", response.usage)
85
  # content
 
77
  messages += [ChatCompletionUserMessageParam(role="user", content=message)]
78
  # response
79
  response = client.chat.completions.create(
80
+ model=MODEL_NAME, messages=messages, temperature=MODEL_TEMPERATURE
 
 
81
  )
82
  logging.info("Response: %s", response.usage)
83
  # content