Spaces:
Runtime error
Runtime error
Update app.py
Browse files291 unmodified lines292293294295296297298299291 unmodified lines# Assuming available_frames_to_check.value is a listif working_frame not in available_frames_to_check:available_frames_to_check.append(working_frame)return "output_first_frame.jpg", frame_names, inference_state, gr.update(choices=available_frames_to_check.value, value=working_frame, visible=True)def propagate_to_all(video_in, checkpoint, stored_inference_state, stored_frame_names, video_frames_dir, vis_frame_type, progress=gr.Progress(track_tqdm=True)):#### PROPAGATION ####291 unmodified lines292293294295296297298299300291 unmodified lines# Assuming available_frames_to_check.value is a listif working_frame not in available_frames_to_check:available_frames_to_check.append(working_frame)print(available_frames_to_check)return "output_first_frame.jpg", frame_names, inference_state, gr.update(choices=available_frames_to_check, value=working_frame, visible=True)def propagate_to_all(video_in, checkpoint, stored_inference_state, stored_frame_names, video_frames_dir, vis_frame_type, progress=gr.Progress(track_tqdm=True)):#### PROPAGATION ####
app.py+2-1