Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def predict(message, history):
|
|
| 11 |
history_openai_format.append({"role": "assistant", "content":assistant})
|
| 12 |
history_openai_format.append({"role": "user", "content": message})
|
| 13 |
|
| 14 |
-
response = client.chat.completions.create(model='gpt-
|
| 15 |
messages= history_openai_format,
|
| 16 |
temperature=1.0,
|
| 17 |
stream=True)
|
|
|
|
| 11 |
history_openai_format.append({"role": "assistant", "content":assistant})
|
| 12 |
history_openai_format.append({"role": "user", "content": message})
|
| 13 |
|
| 14 |
+
response = client.chat.completions.create(model='gpt-4-turbo',
|
| 15 |
messages= history_openai_format,
|
| 16 |
temperature=1.0,
|
| 17 |
stream=True)
|