Qilan2 commited on
Commit
85c21dc
·
verified ·
1 Parent(s): 53406ad

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -39,7 +39,7 @@ def update():
39
  os.system("pip install -U kaggle")
40
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
41
  print('-----------更新软件包列表结束-------------')
42
-
43
  import subprocess
44
  import os
45
  from IPython.display import clear_output
@@ -108,7 +108,7 @@ def ssh():
108
  os.system("service ssh restart ")
109
  os.system("export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr ':' '\n' | grep -v '/opt/conda/lib' | paste -sd ':') ")
110
  print('-----------SSH结束-------------')
111
- # ssh()
112
  clear_output()
113
 
114
 
 
39
  os.system("pip install -U kaggle")
40
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
41
  print('-----------更新软件包列表结束-------------')
42
+ update()
43
  import subprocess
44
  import os
45
  from IPython.display import clear_output
 
108
  os.system("service ssh restart ")
109
  os.system("export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr ':' '\n' | grep -v '/opt/conda/lib' | paste -sd ':') ")
110
  print('-----------SSH结束-------------')
111
+ ssh()
112
  clear_output()
113
 
114