Alex Gonzalez commited on
Commit
f154644
·
1 Parent(s): 39d5445

Changed Output to a Label

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ with gr.Blocks() as demo:
5
  with gr.Column():
6
  input_img = gr.Image(label="Input", sources="webcam")
7
  with gr.Column():
8
- output_img = gr.Image(label="Output")
9
- input_img.stream(lambda s: s, input_img, output_img, time_limit=15, stream_every=0.1, concurrency_limit=30)
10
 
11
  if __name__ == "__main__":
12
 
 
5
  with gr.Column():
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