Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def chat_mem(message,chat_history):
|
|
19 |
chat_completion = client.chat_completion(
|
20 |
messages=chat_history_role,
|
21 |
max_tokens=500,
|
22 |
-
stream=True
|
23 |
)
|
24 |
chat_history_role.append({"role": "assistant", "content": chat_completion.choices[0].message.content})
|
25 |
print(chat_history_role)
|
|
|
19 |
chat_completion = client.chat_completion(
|
20 |
messages=chat_history_role,
|
21 |
max_tokens=500,
|
22 |
+
#stream=True
|
23 |
)
|
24 |
chat_history_role.append({"role": "assistant", "content": chat_completion.choices[0].message.content})
|
25 |
print(chat_history_role)
|