mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-05 20:41:18 +02:00
updated lite
This commit is contained in:
+3
-1
@@ -730,7 +730,9 @@ def whisper_generate(genparams):
|
||||
return outstr
|
||||
|
||||
def utfprint(str):
|
||||
maxlen = 25000
|
||||
maxlen = 32000
|
||||
if args.debugmode >= 1:
|
||||
maxlen = 64000
|
||||
strlength = len(str)
|
||||
if strlength > maxlen: #limit max output len
|
||||
str = str[:maxlen] + f"... (+{strlength-maxlen} chars)"
|
||||
|
||||
Reference in New Issue
Block a user