Spaces:
Runtime error
Runtime error
Raymond Weitekamp
commited on
Commit
·
4478f16
1
Parent(s):
0d3abd2
feat: add webcam support for image input
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def create_gradio_interface():
|
|
217 |
image_input = gr.Image(
|
218 |
type="pil",
|
219 |
label="Upload Handwritten Image",
|
220 |
-
sources=["upload"],
|
221 |
visible=False,
|
222 |
elem_id="image_input"
|
223 |
)
|
|
|
217 |
image_input = gr.Image(
|
218 |
type="pil",
|
219 |
label="Upload Handwritten Image",
|
220 |
+
sources=["upload", "webcam"],
|
221 |
visible=False,
|
222 |
elem_id="image_input"
|
223 |
)
|