mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Welcome Text Fix
This commit is contained in:
@@ -277,7 +277,7 @@ model_menu = {
|
|||||||
|
|
||||||
class Send_to_socketio(object):
|
class Send_to_socketio(object):
|
||||||
def write(self, bar):
|
def write(self, bar):
|
||||||
bar = bar.replace("\r", "").replace("\n", "")
|
bar = bar.replace("\r", "").replace("\n", "").replace(chr(0), "")
|
||||||
if bar != "":
|
if bar != "":
|
||||||
logger.info(bar)
|
logger.info(bar)
|
||||||
#print('\r' + bar, end='')
|
#print('\r' + bar, end='')
|
||||||
|
@@ -568,7 +568,8 @@ class settings(object):
|
|||||||
class model_settings(settings):
|
class model_settings(settings):
|
||||||
local_only_variables = ['badwordsids', 'apikey', 'tqdm', 'socketio', 'default_preset', 'koboldai_vars']
|
local_only_variables = ['badwordsids', 'apikey', 'tqdm', 'socketio', 'default_preset', 'koboldai_vars']
|
||||||
no_save_variables = ['tqdm', 'tqdm_progress', 'tqdm_rem_time', 'socketio', 'modelconfig', 'custmodpth', 'generated_tkns',
|
no_save_variables = ['tqdm', 'tqdm_progress', 'tqdm_rem_time', 'socketio', 'modelconfig', 'custmodpth', 'generated_tkns',
|
||||||
'loaded_layers', 'total_layers', 'total_download_chunks', 'downloaded_chunks', 'presets', 'default_preset', 'koboldai_vars']
|
'loaded_layers', 'total_layers', 'total_download_chunks', 'downloaded_chunks', 'presets', 'default_preset',
|
||||||
|
'koboldai_vars', 'welcome']
|
||||||
settings_name = "model"
|
settings_name = "model"
|
||||||
def __init__(self, socketio, koboldai_vars):
|
def __init__(self, socketio, koboldai_vars):
|
||||||
self.socketio = socketio
|
self.socketio = socketio
|
||||||
|
Reference in New Issue
Block a user