Spaces:
Sleeping
Sleeping
cleanup and loggins
Browse files
app.py
CHANGED
@@ -15,9 +15,8 @@ def chat(message, history):
|
|
15 |
|
16 |
history_openai_format.append({"role": "user", "content": message['text']})
|
17 |
|
18 |
-
|
19 |
|
20 |
-
# def comment():
|
21 |
response = client.chat.completions.create(
|
22 |
model='gpt-3.5-turbo',
|
23 |
messages= history_openai_format,
|
|
|
15 |
|
16 |
history_openai_format.append({"role": "user", "content": message['text']})
|
17 |
|
18 |
+
print(f"{history}\n----\n{message}\n----\n{history_openai_format}")
|
19 |
|
|
|
20 |
response = client.chat.completions.create(
|
21 |
model='gpt-3.5-turbo',
|
22 |
messages= history_openai_format,
|