Felix92 commited on
Commit
f4f5633
1 Parent(s): d301955
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ with gr.Blocks(fill_height=True) as demo:
81
  with gr.Column(visible=False) as upload_section:
82
  success_message = gr.Markdown(visible=True)
83
  gr.Markdown("Upload a document via camera capture.")
84
- camera_upload = gr.Image(label="Upload Image [JPG | PNG] via camera", type="filepath", sources=["webcam"], mirror_webcam=True)
85
  gr.Markdown("Upload a document via file upload.")
86
  file_upload = gr.File(label="Upload File [JPG | PNG | PDF]", file_types=["pdf", "jpg", "png"], type="filepath")
87
 
 
81
  with gr.Column(visible=False) as upload_section:
82
  success_message = gr.Markdown(visible=True)
83
  gr.Markdown("Upload a document via camera capture.")
84
+ camera_upload = gr.Image(label="Upload Image [JPG | PNG] via camera", type="filepath", sources=["webcam"], mirror_webcam=False)
85
  gr.Markdown("Upload a document via file upload.")
86
  file_upload = gr.File(label="Upload File [JPG | PNG | PDF]", file_types=["pdf", "jpg", "png"], type="filepath")
87