hyunjunian commited on
Commit
e2d0d10
·
1 Parent(s): e07f1cc
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks(
82
  ) as app:
83
  with gr.Row():
84
  with gr.Column():
85
- input_img = gr.Image(sources=["webcam"], type="pil")
86
  with gr.Column():
87
  output_label = gr.Textbox(label="🔍 분석 결과")
88
  output_image = gr.Image(label="📊 위험 수준", height=200, width=200)
 
82
  ) as app:
83
  with gr.Row():
84
  with gr.Column():
85
+ input_img = gr.Image(streaming=True, sources=["webcam"], type="pil")
86
  with gr.Column():
87
  output_label = gr.Textbox(label="🔍 분석 결과")
88
  output_image = gr.Image(label="📊 위험 수준", height=200, width=200)