Fix incorrect max tokens

This commit is contained in:
Henk 2022-08-06 17:28:55 +02:00
parent 76c7783ac8
commit 77e2a7972c
1 changed files with 1 additions and 1 deletions

View File

@ -1687,7 +1687,7 @@ def patch_transformers():
def reset_model_settings():
vars.socketio = socketio
vars.max_length = 2048 # Maximum number of tokens to submit per action
vars.max_length = 1024 # Maximum number of tokens to submit per action
vars.ikmax = 3000 # Maximum number of characters to submit to InferKit
vars.genamt = 80 # Amount of text for each action to generate
vars.ikgen = 200 # Number of characters for InferKit to generate