Spaces:
Runtime error
Runtime error
jhaoshao
commited on
Commit
·
9a11597
1
Parent(s):
4bda148
release v1 demo
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ from chronodepth.unet_chronodepth import DiffusersUNetSpatioTemporalConditionMod
|
|
| 43 |
from chronodepth.chronodepth_pipeline import ChronoDepthPipeline
|
| 44 |
from chronodepth.video_utils import resize_max_res, colorize_video_depth
|
| 45 |
|
| 46 |
-
MAX_FRAME=
|
| 47 |
|
| 48 |
default_seed = 2024
|
| 49 |
|
|
@@ -175,7 +175,7 @@ def process_video(
|
|
| 175 |
|
| 176 |
def run_demo_server(pipe):
|
| 177 |
process_pipe_video = spaces.GPU(
|
| 178 |
-
functools.partial(process_video, pipe), duration=
|
| 179 |
)
|
| 180 |
os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
|
| 181 |
|
|
|
|
| 43 |
from chronodepth.chronodepth_pipeline import ChronoDepthPipeline
|
| 44 |
from chronodepth.video_utils import resize_max_res, colorize_video_depth
|
| 45 |
|
| 46 |
+
MAX_FRAME=100
|
| 47 |
|
| 48 |
default_seed = 2024
|
| 49 |
|
|
|
|
| 175 |
|
| 176 |
def run_demo_server(pipe):
|
| 177 |
process_pipe_video = spaces.GPU(
|
| 178 |
+
functools.partial(process_video, pipe), duration=150
|
| 179 |
)
|
| 180 |
os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
|
| 181 |
|