mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Added World Info
Added additional punctuation triggers for Add Sentence Spacing format Added better screen reset logic when refresing screen or restarting server
This commit is contained in:
2
utils.py
2
utils.py
@ -69,7 +69,7 @@ def removespecialchars(txt):
|
||||
def addsentencespacing(txt, acts):
|
||||
# Get last character of last action
|
||||
lastchar = acts[-1][-1]
|
||||
if(lastchar == "." or lastchar == "!" or lastchar == "?"):
|
||||
if(lastchar == "." or lastchar == "!" or lastchar == "?" or lastchar == "," or lastchar == ";" or lastchar == ":"):
|
||||
txt = " " + txt
|
||||
return txt
|
||||
|
||||
|
Reference in New Issue
Block a user