Commit
·
440cf0b
1
Parent(s):
448e9a5
code
Browse files
app.py
CHANGED
|
@@ -63,7 +63,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 63 |
)
|
| 64 |
|
| 65 |
image.webrtc_stream(
|
| 66 |
-
fn=detection, inputs=[image, conf_threshold], stream_every=0.05, time_limit=30
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
|
|
|
| 63 |
)
|
| 64 |
|
| 65 |
image.webrtc_stream(
|
| 66 |
+
fn=detection, inputs=[image, conf_threshold], stream_every=0.05, time_limit=30,
|
| 67 |
+
concurrency_limit=10
|
| 68 |
)
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|