@st.cache(persist=True, ttl=86400, suppress_st_warning=True, show_spinner=False)
def _generate_timeline(video_path):
    timeline = generate_timeline(video_src=video_path, appearence_threshold=5, batch_size=32, duration=None, framerate=8, output_directory='timelines', ref_directory=None, similarity_threshold=0.75, start_time=0, thumbnail_rate=1)
    return timeline
@st.cache(persist=True, ttl=86400, suppress_st_warning=True, show_spinner=False)
def _generate_timeline(video_path):
    timeline = generate_timeline(video_src=video_path, appearence_threshold=5, batch_size=32, duration=None, framerate=8, output_directory='timelines', ref_directory=None, similarity_threshold=0.75, start_time=0, thumbnail_rate=1)
    return timeline