randomshit11 commited on
Commit
11dddd7
·
verified ·
1 Parent(s): 20c7bd9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -3
main.py CHANGED
@@ -38,8 +38,8 @@ def process(video_path, pose_type):
38
 
39
  return "output_video.mp4"
40
 
41
- title = "Push-up Counter"
42
- description = "This app counts the number of push-ups in a video."
43
  inputs = [
44
  gr.Video(label='Input Video'),
45
  gr.Radio(["pullup", "pushup", "abworkout"], label="Pose Type", default="pullup")
@@ -47,7 +47,8 @@ inputs = [
47
 
48
  outputs = gr.Video(label='Output Video')
49
 
50
- example_list = [['Examples/PULL-UPS.mp4'],['Examples/PUSH-UPS.mp4']]
 
51
  # Create the Gradio demo
52
  demo = gr.Interface(fn=process,
53
  inputs=inputs,
 
38
 
39
  return "output_video.mp4"
40
 
41
+ title = "Workout - Monitoring"
42
+ description = "This Space counts the number of exercise in a video."
43
  inputs = [
44
  gr.Video(label='Input Video'),
45
  gr.Radio(["pullup", "pushup", "abworkout"], label="Pose Type", default="pullup")
 
47
 
48
  outputs = gr.Video(label='Output Video')
49
 
50
+ # example_list = [['Examples/PULL-UPS.mp4'],['Examples/PUSH-UPS.mp4']]
51
+ example_list = ['Examples/PULL-UPS.mp4']
52
  # Create the Gradio demo
53
  demo = gr.Interface(fn=process,
54
  inputs=inputs,