Spaces:
Running
Running
justin2341
commited on
Update demo.py
Browse files
demo.py
CHANGED
@@ -115,8 +115,8 @@ with gr.Blocks() as demo:
|
|
115 |
)
|
116 |
with gr.Row():
|
117 |
with gr.Column(scale=3):
|
118 |
-
id_image_input1 = gr.Image(type='filepath')
|
119 |
-
id_image_input2 = gr.Image(type='filepath')
|
120 |
gr.Examples(['idcard_examples/1.jpg', 'idcard_examples/2.jpg', 'idcard_examples/3.jpg'],
|
121 |
inputs=id_image_input)
|
122 |
id_recognition_button = gr.Button("ID Card Recognition")
|
|
|
115 |
)
|
116 |
with gr.Row():
|
117 |
with gr.Column(scale=3):
|
118 |
+
id_image_input1 = gr.Image(type='filepath', label='Front')
|
119 |
+
id_image_input2 = gr.Image(type='filepath', label='Back')
|
120 |
gr.Examples(['idcard_examples/1.jpg', 'idcard_examples/2.jpg', 'idcard_examples/3.jpg'],
|
121 |
inputs=id_image_input)
|
122 |
id_recognition_button = gr.Button("ID Card Recognition")
|