init
Browse files
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=
|
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 |
|