Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
|
|
| 54 |
messages.append(temp)
|
| 55 |
#messages
|
| 56 |
payload = {
|
| 57 |
-
"model": "gpt-
|
| 58 |
"messages": messages, # Of the type of [{"role": "user", "content": f"{inputs}"}],
|
| 59 |
"temperature" : temperature, #1.0,
|
| 60 |
"top_p": top_p, #1.0,
|
|
|
|
| 54 |
messages.append(temp)
|
| 55 |
#messages
|
| 56 |
payload = {
|
| 57 |
+
"model": "gpt-3.5-turbo",
|
| 58 |
"messages": messages, # Of the type of [{"role": "user", "content": f"{inputs}"}],
|
| 59 |
"temperature" : temperature, #1.0,
|
| 60 |
"top_p": top_p, #1.0,
|