Chao Xu commited on
Commit
afbb6e9
·
1 Parent(s): ab4c47c

elev est debug 1

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -8,9 +8,12 @@ from huggingface_hub import snapshot_download
8
  code_dir = snapshot_download("One-2-3-45/code", token=os.environ['TOKEN'])
9
  sys.path.append(code_dir)
10
 
 
 
 
11
  import subprocess
12
 
13
- subprocess.run(["sh", os.path.join(code_dir, "one2345_elev_est/install.sh")], cwd=os.path.join(code_dir, "one2345_elev_est/"))
14
 
15
 
16
  import shutil
 
8
  code_dir = snapshot_download("One-2-3-45/code", token=os.environ['TOKEN'])
9
  sys.path.append(code_dir)
10
 
11
+ elev_est_dir = os.path.join(code_dir, "one2345_elev_est/")
12
+ sys.path.append(elev_est_dir)
13
+
14
  import subprocess
15
 
16
+ subprocess.run(["sh", os.path.join(elev_est_dir, "install.sh")], cwd=elev_est_dir)
17
 
18
 
19
  import shutil