Raymond Weitekamp commited on
Commit
4478f16
·
1 Parent(s): 0d3abd2

feat: add webcam support for image input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )