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