Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,9 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
|
|
| 61 |
"n" : 1,
|
| 62 |
"stream": True,
|
| 63 |
"presence_penalty":0,
|
| 64 |
-
"frequency_penalty":0,
|
|
|
|
|
|
|
| 65 |
|
| 66 |
chat_counter+=1
|
| 67 |
|
|
|
|
| 61 |
"n" : 1,
|
| 62 |
"stream": True,
|
| 63 |
"presence_penalty":0,
|
| 64 |
+
"frequency_penalty":0,
|
| 65 |
+
"max_tokens": 400 # Limiting the token count to 400
|
| 66 |
+
}
|
| 67 |
|
| 68 |
chat_counter+=1
|
| 69 |
|