Alex Gonzalez commited on
Commit
3918a54
·
1 Parent(s): f154644

Fixed bug in the stream

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ with gr.Blocks() as demo:
6
  input_img = gr.Image(label="Input", sources="webcam")
7
  with gr.Column():
8
  output_lbl = gr.Label(value="Output")
9
- input_img.stream(lambda s: s, inputs=[input_img], outputs=[text], time_limit=15, stream_every=0.1, concurrency_limit=30)
10
 
11
  if __name__ == "__main__":
12
 
 
6
  input_img = gr.Image(label="Input", sources="webcam")
7
  with gr.Column():
8
  output_lbl = gr.Label(value="Output")
9
+ input_img.stream(lambda s: s, inputs=[input_img], outputs=[output_lbl], time_limit=15, stream_every=0.1, concurrency_limit=30)
10
 
11
  if __name__ == "__main__":
12