removed [] from return
Browse files
main.py
CHANGED
@@ -125,8 +125,8 @@ def run():
|
|
125 |
|
126 |
webcam = gr.Interface(
|
127 |
fn=infer,
|
128 |
-
inputs= [gr.Video(source="webcam", height=
|
129 |
-
outputs = [gr.Video(format='mp4'), gr.PlayableVideo(), gr.PlayableVideo(), gr.PlayableVideo()],
|
130 |
title = 'Pose estimation',
|
131 |
description = 'Pose estimation on video',
|
132 |
allow_flagging=False
|
@@ -134,8 +134,8 @@ def run():
|
|
134 |
|
135 |
file = gr.Interface(
|
136 |
infer,
|
137 |
-
inputs = [gr.Video(source="upload", height=
|
138 |
-
outputs = [gr.Video(format='mp4'), gr.PlayableVideo(), gr.PlayableVideo(), gr.PlayableVideo()],
|
139 |
allow_flagging=False
|
140 |
)
|
141 |
|
|
|
125 |
|
126 |
webcam = gr.Interface(
|
127 |
fn=infer,
|
128 |
+
inputs= [gr.Video(source="webcam", height=512), check_web],
|
129 |
+
outputs = [gr.Video(format='mp4'), gr.PlayableVideo(height=512), gr.PlayableVideo(height=512), gr.PlayableVideo(height=512)],
|
130 |
title = 'Pose estimation',
|
131 |
description = 'Pose estimation on video',
|
132 |
allow_flagging=False
|
|
|
134 |
|
135 |
file = gr.Interface(
|
136 |
infer,
|
137 |
+
inputs = [gr.Video(source="upload", height=512), check_file],
|
138 |
+
outputs = [gr.Video(format='mp4'), gr.PlayableVideo(height=512), gr.PlayableVideo(height=512), gr.PlayableVideo(height=512)],
|
139 |
allow_flagging=False
|
140 |
)
|
141 |
|