ACCA225 commited on
Commit
3519533
1 Parent(s): 106385e

Update app11.py

Browse files
Files changed (1) hide show
  1. app11.py +2 -2
app11.py CHANGED
@@ -294,9 +294,9 @@ def start():
294
  #process = subprocess.Popen(command, shell=True)
295
  time.sleep(200)
296
  os.system(f"{command}")
297
- except Exception as e:
298
  # 在这里处理异常的代码
299
- print(f"启动SD发生错误: {e}")
300
  # Create threads for each function
301
  wandb_thread = threading.Thread(target=monitor_gpu)
302
  keepliving_thread = threading.Thread(target=session_saver)
 
294
  #process = subprocess.Popen(command, shell=True)
295
  time.sleep(200)
296
  os.system(f"{command}")
297
+ except Exception as e:
298
  # 在这里处理异常的代码
299
+ print(f"启动SD发生错误: {e}")
300
  # Create threads for each function
301
  wandb_thread = threading.Thread(target=monitor_gpu)
302
  keepliving_thread = threading.Thread(target=session_saver)