mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-10 00:30:49 +01:00
Merge pull request #210 from db0/model_loading_msg
fix model loading format bleeding into gui
This commit is contained in:
commit
8eb4cd36ad
@ -393,7 +393,8 @@ class Send_to_socketio(object):
|
|||||||
print(bar, end="")
|
print(bar, end="")
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
try:
|
try:
|
||||||
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True)
|
gui_msg = bar.replace(f"{colors.PURPLE}INIT{colors.END} | ","").replace(" ", " ")
|
||||||
|
emit('from_server', {'cmd': 'model_load_status', 'data': gui_msg}, broadcast=True)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user