Spaces:
Runtime error
Runtime error
Update chat.py
Browse files
chat.py
CHANGED
@@ -15,7 +15,7 @@ def predict(message, history):
|
|
15 |
history_openai_format.append({"role": "assistant", "content":assistant})
|
16 |
history_openai_format.append({"role": "user", "content": message})
|
17 |
|
18 |
-
response = client.chat.completions.create(model='gpt-4-
|
19 |
messages= history_openai_format,
|
20 |
# messages=[
|
21 |
# {
|
|
|
15 |
history_openai_format.append({"role": "assistant", "content":assistant})
|
16 |
history_openai_format.append({"role": "user", "content": message})
|
17 |
|
18 |
+
response = client.chat.completions.create(model='gpt-4-0125-preview',
|
19 |
messages= history_openai_format,
|
20 |
# messages=[
|
21 |
# {
|