xmrt commited on
Commit
672d4d0
·
1 Parent(s): fbee0b5

removed [] from return

Browse files
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -125,8 +125,8 @@ def run():
125
 
126
  webcam = gr.Interface(
127
  fn=infer,
128
- inputs= [gr.Video(source="webcam", height=412), check_web],
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=412), check_file],
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