jiangzeyinzi commited on
Commit
4c5daf6
1 Parent(s): 80ff2d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -11,10 +11,9 @@ results = os.popen(f"pip3 install -r requirements.txt -i https://pypi.org/simple
11
  print("step1:", results.readlines())
12
  results = os.popen(f"pip3 uninstall scepter -y")
13
  print("step2:", results.readlines())
14
- # results = os.popen(f"pip3 install scepter -i https://pypi.org/simple")
15
- # print("step3:", results.readlines())
16
- results = os.popen(f"pip3 install {os.getenv['SCEPTER_WHL']}")
17
- print("step3:", results.readlines())
18
  results = os.popen(f"pip3 list")
19
  print("step4:", results.readlines())
20
  #results = os.popen(f"sudo chmod 777 /data")
 
11
  print("step1:", results.readlines())
12
  results = os.popen(f"pip3 uninstall scepter -y")
13
  print("step2:", results.readlines())
14
+ scepter_whl = os.environ.get("SCEPTER_WHL","scepter")
15
+ results = os.popen(f"pip3 install {scepter_whl} -i https://pypi.org/simple")
16
+ print("step3:", scepter_whl, results.readlines())
 
17
  results = os.popen(f"pip3 list")
18
  print("step4:", results.readlines())
19
  #results = os.popen(f"sudo chmod 777 /data")