aiqcamp commited on
Commit
196e1f1
Β·
verified Β·
1 Parent(s): e4f7d0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -296,7 +296,8 @@ with gr.Blocks(analytics_enabled=False) as demo:
296
  with gr.Tab("Webcam"):
297
  with gr.Row():
298
  with gr.Column():
299
- webcam_input = gr.Image(source="webcam", streaming=True)
 
300
  with gr.Row():
301
  webcam_instruction = gr.Textbox(
302
  label="Instruction",
 
296
  with gr.Tab("Webcam"):
297
  with gr.Row():
298
  with gr.Column():
299
+ webcam_input = gr.Webcam(label="Webcam Input") # gr.Image λŒ€μ‹  gr.Webcam μ‚¬μš©
300
+
301
  with gr.Row():
302
  webcam_instruction = gr.Textbox(
303
  label="Instruction",