Spaces:
Runtime error
Runtime error
Future-Tense
commited on
Commit
·
96da659
1
Parent(s):
591386a
Update app.py
Browse files
app.py
CHANGED
@@ -94,10 +94,10 @@ with gr.Blocks() as app:
|
|
94 |
det_win = gr.Image(source="webcam", streaming=True)
|
95 |
with gr.Row():
|
96 |
pl_tog=gr.Number()
|
97 |
-
pl.click(pl_fn,[output_win,cur_frame,total_frames,fps_frames,pl_tog],det_win,every=0.1)
|
98 |
bk.click(bk_fn,[cur_frame],cur_frame)
|
99 |
fw.click(fw_fn,[cur_frame,total_frames],cur_frame)
|
100 |
load_button.click(load,youtube_url,[output_win,cur_frame,total_frames,fps_frames])
|
101 |
run_button.click(vid_play, [output_win,cur_frame], det_win)
|
102 |
|
103 |
-
app.
|
|
|
94 |
det_win = gr.Image(source="webcam", streaming=True)
|
95 |
with gr.Row():
|
96 |
pl_tog=gr.Number()
|
97 |
+
pl.click(pl_fn,[output_win,cur_frame,total_frames,fps_frames,pl_tog],det_win,every=0.1,show_progress=False)
|
98 |
bk.click(bk_fn,[cur_frame],cur_frame)
|
99 |
fw.click(fw_fn,[cur_frame,total_frames],cur_frame)
|
100 |
load_button.click(load,youtube_url,[output_win,cur_frame,total_frames,fps_frames])
|
101 |
run_button.click(vid_play, [output_win,cur_frame], det_win)
|
102 |
|
103 |
+
app.queue(concurrency_count=10).launch()
|