mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge pull request #186 from ebolam/united
Fix for Aria2 download status not showing in colab console
This commit is contained in:
1
utils.py
1
utils.py
@ -177,6 +177,7 @@ class Send_to_socketio(object):
|
|||||||
def write(self, bar):
|
def write(self, bar):
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
try:
|
try:
|
||||||
|
print(bar)
|
||||||
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True)
|
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user