Spaces:
Runtime error
Runtime error
update gradio version
Browse files
app.py
CHANGED
@@ -16,6 +16,10 @@ code_dir = snapshot_download("zouzx/TriplaneGaussian", local_dir="./code", token
|
|
16 |
|
17 |
sys.path.append(code_dir)
|
18 |
|
|
|
|
|
|
|
|
|
19 |
print("gr version: ", gr.__version__)
|
20 |
|
21 |
from utils import image_preprocess, pred_bbox, sam_init, sam_out_nosave, todevice
|
|
|
16 |
|
17 |
sys.path.append(code_dir)
|
18 |
|
19 |
+
# if not LOCAL_CODE:
|
20 |
+
import subprocess
|
21 |
+
subprocess.run(["pip", "install", "--upgrade", "gradio"])
|
22 |
+
|
23 |
print("gr version: ", gr.__version__)
|
24 |
|
25 |
from utils import image_preprocess, pred_bbox, sam_init, sam_out_nosave, todevice
|