Spaces:
Sleeping
Sleeping
Download app.py from pn23/HacklyticsPoseDetection: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/spaces/pn23/HacklyticsPoseDetection/resolve/main/app.py
- Command line
-
hf download hf://spaces/pn23/HacklyticsPoseDetection/app.py
-
curl -L -o app.py https://huggingface.co/spaces/pn23/HacklyticsPoseDetection/resolve/main/app.py
392 Bytes
| import streamlit as st | |
| import numpy as np | |
| import cv2 | |
| import mediapipe as mp | |
| title = st.title("Welcome to Therapute") | |
| exercise_options = ['Knee Extension', 'MCL Strengthening', 'Dumbbell Thruster', 'External Rotation'] | |
| curr_exer = st.radio('Select an exercise', exercise_options) | |
| x = st.slider('Select a value') | |
| st.write(x, 'squared is', x * x) | |
| st.write(curr_exer) | |
| st.success("Success") |