Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,8 +71,7 @@ def infer_video_depth(
|
|
| 71 |
max_res: int = 1280,
|
| 72 |
grayscale: bool = False,
|
| 73 |
output_dir: str = './outputs',
|
| 74 |
-
input_size: int = 518
|
| 75 |
-
progress=gr.Progress(track_tqdm=True)
|
| 76 |
):
|
| 77 |
frames, target_fps = read_video_frames(input_video, max_len, target_fps, max_res)
|
| 78 |
depths, fps = video_depth_anything.infer_video_depth(frames, target_fps, input_size=input_size, device=DEVICE)
|
|
|
|
| 71 |
max_res: int = 1280,
|
| 72 |
grayscale: bool = False,
|
| 73 |
output_dir: str = './outputs',
|
| 74 |
+
input_size: int = 518
|
|
|
|
| 75 |
):
|
| 76 |
frames, target_fps = read_video_frames(input_video, max_len, target_fps, max_res)
|
| 77 |
depths, fps = video_depth_anything.infer_video_depth(frames, target_fps, input_size=input_size, device=DEVICE)
|