Siyun He commited on
Commit
4713b6b
·
1 Parent(s): aea6c92
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,6 +95,6 @@ with gr.Blocks() as demo:
95
  with gr.Row():
96
  with gr.Column():
97
  input_img = gr.Image(label="Input", sources="webcam", streaming=True)
98
- input_img.stream(webcam_input, [input_img], [input_img], time_limit=15, stream_every=0.1, concurrency_limit=30)
99
  if __name__ == "__main__":
100
  demo.launch(share=True)
 
95
  with gr.Row():
96
  with gr.Column():
97
  input_img = gr.Image(label="Input", sources="webcam", streaming=True)
98
+ input_img.stream(webcam_input, [input_img], [input_img], stream_every=0.1, concurrency_limit=30)
99
  if __name__ == "__main__":
100
  demo.launch(share=True)