Spaces:
Runtime error
Runtime error
Download app.py from sonobit/facedetect: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/sonobit/facedetect/resolve/main/app.py
- Command line
-
hf download hf://spaces/sonobit/facedetect/app.py
-
curl -L -o app.py https://huggingface.co/spaces/sonobit/facedetect/resolve/main/app.py
437 Bytes
| 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}") |