ACCA225 commited on
Commit
50160e5
1 Parent(s): 592b55e

Update app1.py

Browse files
Files changed (1) hide show
  1. app1.py +1 -1
app1.py CHANGED
@@ -76,7 +76,7 @@ def wandb():
76
  gpu_usage = int(os.popen(gpu_usage_command).read().strip())
77
 
78
  wandb.log({"GPU 温度": gpu_temperature, "GPU 使用率": gpu_usage})
79
- time.sleep(10)
80
 
81
  def start():
82
  os.system(f"python launch.py --api --xformers --enable-insecure-extension-access --ui-settings-file /home/xlab-app-center/config.json --ui-config-file /home/xlab-app-center/ui-config.json --gradio-queue --disable-safe-unpickle --ngrok=2Z4gIgLcc0W20vmdmTHTgwlWXdR_5aHNP91mnkn1mFYXUKKEz")
 
76
  gpu_usage = int(os.popen(gpu_usage_command).read().strip())
77
 
78
  wandb.log({"GPU 温度": gpu_temperature, "GPU 使用率": gpu_usage})
79
+ time.sleep(60)
80
 
81
  def start():
82
  os.system(f"python launch.py --api --xformers --enable-insecure-extension-access --ui-settings-file /home/xlab-app-center/config.json --ui-config-file /home/xlab-app-center/ui-config.json --gradio-queue --disable-safe-unpickle --ngrok=2Z4gIgLcc0W20vmdmTHTgwlWXdR_5aHNP91mnkn1mFYXUKKEz")