code
Browse files- main_noweb.py +0 -4
main_noweb.py
CHANGED
@@ -217,8 +217,6 @@ with block:
|
|
217 |
submit_pose_file_web = gr.Button("Make 2d pose estimation")
|
218 |
submit_pose3d_file_web = gr.Button("Make 3d pose estimation")
|
219 |
submit_hand_file_web = gr.Button("Make 2d hand estimation")
|
220 |
-
stop = gr.Button(value="Stop estimation")
|
221 |
-
|
222 |
|
223 |
with gr.Row():
|
224 |
video_output1_web = gr.PlayableVideo(label = "Estimate human 2d poses", show_label=True, height=256)
|
@@ -353,8 +351,6 @@ with block:
|
|
353 |
outputs = [video_output3, jsonoutput],
|
354 |
queue=True)
|
355 |
|
356 |
-
stop.click(fn=None, inputs=None, outputs=None, cancels=[click1, click2, click3])
|
357 |
-
|
358 |
|
359 |
# From web
|
360 |
submit_pose_file_web.click(fn=pose2d,
|
|
|
217 |
submit_pose_file_web = gr.Button("Make 2d pose estimation")
|
218 |
submit_pose3d_file_web = gr.Button("Make 3d pose estimation")
|
219 |
submit_hand_file_web = gr.Button("Make 2d hand estimation")
|
|
|
|
|
220 |
|
221 |
with gr.Row():
|
222 |
video_output1_web = gr.PlayableVideo(label = "Estimate human 2d poses", show_label=True, height=256)
|
|
|
351 |
outputs = [video_output3, jsonoutput],
|
352 |
queue=True)
|
353 |
|
|
|
|
|
354 |
|
355 |
# From web
|
356 |
submit_pose_file_web.click(fn=pose2d,
|