Update run.py
Browse files
run.py
CHANGED
@@ -67,8 +67,7 @@ with gr.Blocks(css=css) as demo:
|
|
67 |
with gr.Group(elem_classes=["my-group"]):
|
68 |
image = WebRTC(label="Stream")
|
69 |
image.stream(
|
70 |
-
fn=segment, inputs=[image], outputs=[image]
|
71 |
-
)
|
72 |
|
73 |
if __name__ == "__main__":
|
74 |
demo.launch()
|
|
|
67 |
with gr.Group(elem_classes=["my-group"]):
|
68 |
image = WebRTC(label="Stream")
|
69 |
image.stream(
|
70 |
+
fn=segment, inputs=[image], outputs=[image])
|
|
|
71 |
|
72 |
if __name__ == "__main__":
|
73 |
demo.launch()
|