Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -16,6 +16,8 @@ code_dir = snapshot_download("zouzx/TriplaneGaussian", local_dir="./code", token
|
|
16 |
|
17 |
sys.path.append(code_dir)
|
18 |
|
|
|
|
|
19 |
from utils import image_preprocess, pred_bbox, sam_init, sam_out_nosave, todevice
|
20 |
from gradio_splatting.backend.gradio_model3dgs import Model3DGS
|
21 |
import tgs
|
@@ -192,7 +194,7 @@ def launch(port):
|
|
192 |
outputs=[output_video])
|
193 |
|
194 |
launch_args = {"server_port": port}
|
195 |
-
demo.queue(max_size=
|
196 |
demo.launch(auth=AUTH, **launch_args)
|
197 |
|
198 |
if __name__ == "__main__":
|
|
|
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
|
22 |
from gradio_splatting.backend.gradio_model3dgs import Model3DGS
|
23 |
import tgs
|
|
|
194 |
outputs=[output_video])
|
195 |
|
196 |
launch_args = {"server_port": port}
|
197 |
+
demo.queue(max_size=1)
|
198 |
demo.launch(auth=AUTH, **launch_args)
|
199 |
|
200 |
if __name__ == "__main__":
|