Spaces:
Runtime error
Runtime error
Chao Xu
commited on
Commit
·
c1ff4cf
1
Parent(s):
3c9a806
install elev est
Browse files
app.py
CHANGED
|
@@ -7,6 +7,11 @@ import os, sys
|
|
| 7 |
from huggingface_hub import snapshot_download
|
| 8 |
sys.path.append(snapshot_download("One-2-3-45/code", token=os.environ['TOKEN']))
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
import shutil
|
| 11 |
import torch
|
| 12 |
import fire
|
|
|
|
| 7 |
from huggingface_hub import snapshot_download
|
| 8 |
sys.path.append(snapshot_download("One-2-3-45/code", token=os.environ['TOKEN']))
|
| 9 |
|
| 10 |
+
import subprocess
|
| 11 |
+
|
| 12 |
+
subprocess.run(["./one2345_elev_est/install.sh"], cwd="./one2345_elev_est/")
|
| 13 |
+
|
| 14 |
+
|
| 15 |
import shutil
|
| 16 |
import torch
|
| 17 |
import fire
|