Spaces:
Paused
Paused
Chao Xu
commited on
Commit
โข
ab4c47c
1
Parent(s):
c1ff4cf
install elev est debug 0
Browse files
app.py
CHANGED
@@ -5,11 +5,12 @@ python gradio_new.py 0
|
|
5 |
'''
|
6 |
import os, sys
|
7 |
from huggingface_hub import snapshot_download
|
8 |
-
|
|
|
9 |
|
10 |
import subprocess
|
11 |
|
12 |
-
subprocess.run(["
|
13 |
|
14 |
|
15 |
import shutil
|
|
|
5 |
'''
|
6 |
import os, sys
|
7 |
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
|