Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
|
|
| 78 |
temp["content"] = inputs
|
| 79 |
messages.append(temp)
|
| 80 |
|
| 81 |
-
payload = {"model": "gpt-3.5-turbo-16k-0613", "messages": messages, "temperature" : 0.
|
| 82 |
|
| 83 |
chat_counter+=1
|
| 84 |
|
|
|
|
| 78 |
temp["content"] = inputs
|
| 79 |
messages.append(temp)
|
| 80 |
|
| 81 |
+
payload = {"model": "gpt-3.5-turbo-16k-0613", "messages": messages, "temperature" : 0.7, "top_p": 1.0, "n" : 1, "stream": True, "presence_penalty":0, "frequency_penalty":0,}
|
| 82 |
|
| 83 |
chat_counter+=1
|
| 84 |
|