Spaces:
Runtime error
Runtime error
Chao Xu
commited on
Commit
โข
1b3ad4a
1
Parent(s):
aa2ac84
bug fix
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ python gradio_new.py 0
|
|
5 |
'''
|
6 |
import os, sys
|
7 |
from huggingface_hub import snapshot_download
|
8 |
-
|
9 |
-
code_dir = "../code"
|
10 |
sys.path.append(code_dir)
|
11 |
|
12 |
elev_est_dir = os.path.join(code_dir, "one2345_elev_est/")
|
|
|
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 |
+
# code_dir = "../code"
|
10 |
sys.path.append(code_dir)
|
11 |
|
12 |
elev_est_dir = os.path.join(code_dir, "one2345_elev_est/")
|