import streamlit as st from streamlit_terran_timeline import generate_timeline, terran_timeline # Generate the timeline information timeline = generate_timeline("https://www.youtube.com/watch?v=dQw4w9WgXcQ") # # Display the timeline. If the users click, you'll get the exact second of # the part of the timeline video. By default, it returns 0. # start_time = terran_timeline(timeline) st.write(f"User clicked on second {start_time}")