Spaces:
Sleeping
Sleeping
added webcam feature
Browse files
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)
|