Spaces:
Running
Running
Update demo.py
Browse files
demo.py
CHANGED
@@ -211,7 +211,7 @@ with gr.Blocks() as demo:
|
|
211 |
with gr.Column(scale=3):
|
212 |
id_image_input1 = gr.Image(type='filepath', label='Front')
|
213 |
id_image_input2 = gr.Image(type='filepath', label='Back')
|
214 |
-
gr.Examples(['idcard_examples/1.jpg', 'idcard_examples/2.jpg', 'idcard_examples/3.jpg'
|
215 |
id_recognition_button = gr.Button("ID Card Recognition")
|
216 |
with gr.Column(scale=5):
|
217 |
id_result_output = gr.HTML()
|
|
|
211 |
with gr.Column(scale=3):
|
212 |
id_image_input1 = gr.Image(type='filepath', label='Front')
|
213 |
id_image_input2 = gr.Image(type='filepath', label='Back')
|
214 |
+
gr.Examples(['idcard_examples/1.jpg', 'idcard_examples/2.jpg', 'idcard_examples/3.jpg'], inputs=id_image_input1)
|
215 |
id_recognition_button = gr.Button("ID Card Recognition")
|
216 |
with gr.Column(scale=5):
|
217 |
id_result_output = gr.HTML()
|