Update app11.py
Browse files
app11.py
CHANGED
@@ -307,16 +307,16 @@ def start():
|
|
307 |
print(f"启动SD发生错误: {e}")
|
308 |
# Create threads for each function
|
309 |
wandb_thread = threading.Thread(target=monitor_gpu)
|
310 |
-
keepliving_thread = threading.Thread(target=session_saver)
|
311 |
start_thread = threading.Thread(target=start)
|
312 |
|
313 |
# Start the threads
|
314 |
wandb_thread.start()
|
315 |
start_thread.start()
|
316 |
-
keepliving_thread.start()
|
317 |
|
318 |
# Wait for both threads to finish
|
319 |
wandb_thread.join()
|
320 |
start_thread.join()
|
321 |
-
keepliving_thread.join()
|
322 |
time.sleep(3000000)
|
|
|
307 |
print(f"启动SD发生错误: {e}")
|
308 |
# Create threads for each function
|
309 |
wandb_thread = threading.Thread(target=monitor_gpu)
|
310 |
+
#keepliving_thread = threading.Thread(target=session_saver)
|
311 |
start_thread = threading.Thread(target=start)
|
312 |
|
313 |
# Start the threads
|
314 |
wandb_thread.start()
|
315 |
start_thread.start()
|
316 |
+
#keepliving_thread.start()
|
317 |
|
318 |
# Wait for both threads to finish
|
319 |
wandb_thread.join()
|
320 |
start_thread.join()
|
321 |
+
#keepliving_thread.join()
|
322 |
time.sleep(3000000)
|