Raymond Weitekamp commited on
Commit
d110647
·
1 Parent(s): 47b06ca

feat: add webcam mirroring for more natural interaction

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -306,6 +306,7 @@ def create_gradio_interface():
306
  type="pil",
307
  label="Upload Handwritten Image",
308
  sources=["upload", "webcam"],
 
309
  visible=False,
310
  elem_id="image_input"
311
  )
 
306
  type="pil",
307
  label="Upload Handwritten Image",
308
  sources=["upload", "webcam"],
309
+ mirror_webcam=True, # Mirror the webcam feed for more natural interaction
310
  visible=False,
311
  elem_id="image_input"
312
  )