fix timer?
Browse files
files_cells/python/ru/downloading_ru.py
CHANGED
@@ -148,7 +148,7 @@ if not os.path.exists(webui_path):
|
|
148 |
install_time = timedelta(seconds=time.time()-start_install)
|
149 |
print("\r🚀 Распаковка Завершена! За","%02d:%02d:%02d ⚡\n" % (install_time.seconds / 3600, (install_time.seconds / 60) % 60, install_time.seconds % 60), end='', flush=True)
|
150 |
else:
|
151 |
-
get_ipython().system('echo -n {start_colab} > {webui_path}/static/colabTimer.txt')
|
152 |
print("🚀 Все распакованно... Пропуск. ⚡")
|
153 |
start_colab = float(open(f'{webui_path}/static/colabTimer.txt', 'r').read())
|
154 |
time_since_start = str(timedelta(seconds=time.time()-start_colab)).split('.')[0]
|
|
|
148 |
install_time = timedelta(seconds=time.time()-start_install)
|
149 |
print("\r🚀 Распаковка Завершена! За","%02d:%02d:%02d ⚡\n" % (install_time.seconds / 3600, (install_time.seconds / 60) % 60, install_time.seconds % 60), end='', flush=True)
|
150 |
else:
|
151 |
+
# get_ipython().system('echo -n {start_colab} > {webui_path}/static/colabTimer.txt')
|
152 |
print("🚀 Все распакованно... Пропуск. ⚡")
|
153 |
start_colab = float(open(f'{webui_path}/static/colabTimer.txt', 'r').read())
|
154 |
time_since_start = str(timedelta(seconds=time.time()-start_colab)).split('.')[0]
|