This commit is contained in:
ebolam
2022-10-24 19:33:28 -04:00
parent c1df2c7862
commit c2eadcddf6

View File

@@ -119,7 +119,7 @@ def show_spinner():
bar = progressbar.ProgressBar(max_value=progressbar.UnknownLength, widgets=[progressbar.Timer(), ' ', progressbar.BouncingBar(left='[', right=']', marker='')])
i = 0
global run_spinner
while run_spinner=True:
while run_spinner:
print("Sending to client")
if i % 2 == 0:
socketio.emit('from_server', {'cmd': 'model_load_status', 'data': "Connecting to TPU..." }, broadcast=True, room="UI_1")