noamholz commited on
Commit
8262081
·
verified ·
1 Parent(s): 474064e

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -66,8 +66,8 @@ with gr.Blocks(css=css) as demo:
66
  with gr.Column(elem_classes=["my-column"]):
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()
 
66
  with gr.Column(elem_classes=["my-column"]):
67
  with gr.Group(elem_classes=["my-group"]):
68
  image = WebRTC(label="Stream")
69
+
70
+ image.stream(fn=segment, inputs=[image], outputs=[image])
71
 
72
  if __name__ == "__main__":
73
  demo.launch()