Spaces:
Sleeping
Sleeping
GPT4
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def chatbot(input):
|
|
| 11 |
if input:
|
| 12 |
messages.append({"role": "user", "content": input})
|
| 13 |
chat = openai.ChatCompletion.create(
|
| 14 |
-
model="gpt-
|
| 15 |
)
|
| 16 |
reply = chat.choices[0].message.content
|
| 17 |
messages.append({"role": "assistant", "content": reply})
|
|
|
|
| 11 |
if input:
|
| 12 |
messages.append({"role": "user", "content": input})
|
| 13 |
chat = openai.ChatCompletion.create(
|
| 14 |
+
model="gpt-4-32k", messages=messages
|
| 15 |
)
|
| 16 |
reply = chat.choices[0].message.content
|
| 17 |
messages.append({"role": "assistant", "content": reply})
|