Spaces:
Running
Running
Update demo.py
Browse files
demo.py
CHANGED
|
@@ -118,7 +118,7 @@ with gr.Blocks() as demo:
|
|
| 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=
|
| 122 |
id_recognition_button = gr.Button("ID Card Recognition")
|
| 123 |
with gr.Column(scale=5):
|
| 124 |
id_result_output = gr.HTML()
|
|
|
|
| 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_input1)
|
| 122 |
id_recognition_button = gr.Button("ID Card Recognition")
|
| 123 |
with gr.Column(scale=5):
|
| 124 |
id_result_output = gr.HTML()
|