Spaces:
Runtime error
Runtime error
Raymond Weitekamp
commited on
Commit
·
d110647
1
Parent(s):
47b06ca
feat: add webcam mirroring for more natural interaction
Browse files
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 |
)
|