Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,8 @@ def chatbot(message, history):
|
|
28 |
|
29 |
response = client.chat.completions.create(
|
30 |
model=settings["openai_model"],
|
31 |
-
messages=messages
|
|
|
32 |
)
|
33 |
|
34 |
return response.choices[0].message.content
|
|
|
28 |
|
29 |
response = client.chat.completions.create(
|
30 |
model=settings["openai_model"],
|
31 |
+
messages=messages,
|
32 |
+
temperature=0
|
33 |
)
|
34 |
|
35 |
return response.choices[0].message.content
|