Spaces:
Build error
Build error
Download exercise_detection.py from JamanKH/Azim_Health: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/JamanKH/Azim_Health/resolve/main/exercise_detection.py
- Command line
-
hf download hf://spaces/JamanKH/Azim_Health/exercise_detection.py
-
curl -L -o exercise_detection.py https://huggingface.co/spaces/JamanKH/Azim_Health/resolve/main/exercise_detection.py
409 Bytes
| import streamlit as st | |
| import requests | |
| def app(): | |
| st.subheader('Excercise Detection') | |
| # Define the link to redirect to | |
| link = "https://huggingface.co/spaces/JamanKH/motion_detection" | |
| # Create a button widget | |
| button = st.button("Start Detection") | |
| # If the button is clicked, send a request to the link and display it in an iframe | |
| if button: | |
| st.markdown(link) | |