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

fix: disable webcam mirroring for readable text

Browse files
Files changed (2) hide show
  1. .cursor/rules/test-first.mdc +2 -1
  2. app.py +0 -1
.cursor/rules/test-first.mdc CHANGED
@@ -1,8 +1,9 @@
1
  ---
2
- description: test before commiting.
3
  globs:
4
  ---
5
 
6
  # YOU MUST RUN THE LOCAL TESTS BEFORE PUSHING
7
 
8
  [test_local.sh](mdc:test_local.sh)
 
 
1
  ---
2
+ description: test before commiting.
3
  globs:
4
  ---
5
 
6
  # YOU MUST RUN THE LOCAL TESTS BEFORE PUSHING
7
 
8
  [test_local.sh](mdc:test_local.sh)
9
+ ./test_local.sh is the local test
app.py CHANGED
@@ -306,7 +306,6 @@ def create_gradio_interface():
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
  )
 
306
  type="pil",
307
  label="Upload Handwritten Image",
308
  sources=["upload", "webcam"],
 
309
  visible=False,
310
  elem_id="image_input"
311
  )