Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -38,8 +38,8 @@ def process(video_path, pose_type):
|
|
38 |
|
39 |
return "output_video.mp4"
|
40 |
|
41 |
-
title = "
|
42 |
-
description = "This
|
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,
|