Qi28 commited on
Commit
9835567
·
verified ·
1 Parent(s): 253dcbb

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -21,7 +21,7 @@ nezha_agent_key = 'L3USpU8bbpHRV90uuC'
21
  nezha_agent_url = 'nzzz.nwb.lol:5555'
22
 
23
  #!export CUDA_VISIBLE_DEVICES=0,1
24
- os.remove('apt-get install pigz')
25
  # 定义下载路径和解压路径
26
  download_path = "/tmp/code/venv.tar.gz"
27
  extract_path = "/tmp/code"
 
21
  nezha_agent_url = 'nzzz.nwb.lol:5555'
22
 
23
  #!export CUDA_VISIBLE_DEVICES=0,1
24
+ subprocess.run(["apt-get", "install", "-y", "pigz"])
25
  # 定义下载路径和解压路径
26
  download_path = "/tmp/code/venv.tar.gz"
27
  extract_path = "/tmp/code"