Update app.py
Browse files71 unmodified lines72737475767778798071 unmodified linesgrayscale: bool = False,output_dir: str = './outputs',input_size: int = 518,):frames, target_fps = read_video_frames(input_video, max_len, target_fps, max_res)depths, fps = video_depth_anything.infer_video_depth(frames, target_fps, input_size=input_size, device=DEVICE)video_name = os.path.basename(input_video)if not os.path.exists(output_dir):71 unmodified lines7273747576777879808171 unmodified linesgrayscale: bool = False,output_dir: str = './outputs',input_size: int = 518,progress=gr.Progress()):frames, target_fps = read_video_frames(input_video, max_len, target_fps, max_res)depths, fps = video_depth_anything.infer_video_depth(frames, target_fps, input_size=input_size, device=DEVICE, progress=progress.tqdm)video_name = os.path.basename(input_video)if not os.path.exists(output_dir):
app.py+2-1