LeemahLee commited on
Commit
39935c2
·
verified ·
1 Parent(s): 3665fd0

added webcam feature

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ with gr.Blocks() as demo:
88
  img_input = gr.Image(
89
  label="📸 Take or Upload a Photo",
90
  type="pil",
91
- sources=["upload"],
92
  streaming=False
93
  )
94
  output_text = gr.Textbox(label="Prediction & Advice", lines=5)
 
88
  img_input = gr.Image(
89
  label="📸 Take or Upload a Photo",
90
  type="pil",
91
+ sources=["upload", "webcam"],
92
  streaming=False
93
  )
94
  output_text = gr.Textbox(label="Prediction & Advice", lines=5)