Zhu-FaceOnLive
commited on
Commit
·
634b044
1
Parent(s):
db78260
Update demo.py
Browse files
demo.py
CHANGED
@@ -158,7 +158,7 @@ with gr.Blocks() as demo:
|
|
158 |
id_image_input2 = gr.Image(type='filepath', label='Back')
|
159 |
id_recognition_button = gr.Button("ID Card Recognition")
|
160 |
id_examples = gr.Examples(
|
161 |
-
examples=[['samples/11.jpg', 'samples/12.jpg'], ['samples/21.jpg', 'samples/22.jpg'], ['samples/3.jpg', None] ['samples/4.jpg', None]],
|
162 |
inputs=[id_image_input1, id_image_input2],
|
163 |
outputs=None,
|
164 |
fn=idcard_recognition
|
|
|
158 |
id_image_input2 = gr.Image(type='filepath', label='Back')
|
159 |
id_recognition_button = gr.Button("ID Card Recognition")
|
160 |
id_examples = gr.Examples(
|
161 |
+
examples=[['samples/11.jpg', 'samples/12.jpg'], ['samples/21.jpg', 'samples/22.jpg'], ['samples/3.jpg', None], ['samples/4.jpg', None]],
|
162 |
inputs=[id_image_input1, id_image_input2],
|
163 |
outputs=None,
|
164 |
fn=idcard_recognition
|