Turing311 commited on
Commit
3bdccda
·
1 Parent(s): 90694e5

Update gradio/demo.py

Browse files
Files changed (1) hide show
  1. gradio/demo.py +3 -3
gradio/demo.py CHANGED
@@ -327,12 +327,12 @@ with gr.Blocks() as demo:
327
  with gr.Row():
328
  with gr.Column():
329
  compare_face_input1 = gr.Image(type='filepath')
330
- gr.Examples(['face_examples/1.jpg', 'face_examples/3.jpg', 'face_examples/5.jpg', 'face_examples/7.jpg', 'face_examples/9.jpg'],
331
  inputs=compare_face_input1)
332
  compare_face_button = gr.Button("Compare Face")
333
  with gr.Column():
334
  compare_face_input2 = gr.Image(type='filepath')
335
- gr.Examples(['face_examples/2.jpg', 'face_examples/4.jpg', 'face_examples/6.jpg', 'face_examples/8.jpg', 'face_examples/10.jpg'],
336
  inputs=compare_face_input2)
337
  with gr.Column():
338
  compare_face_output = gr.Image(type="pil").style(height=150)
@@ -343,7 +343,7 @@ with gr.Blocks() as demo:
343
  with gr.Row():
344
  with gr.Column(scale=3):
345
  id_image_input = gr.Image(type='filepath')
346
- gr.Examples(['idcard_examples/1.jpg', 'idcard_examples/2.jpg', 'idcard_examples/3.jpg'],
347
  inputs=id_image_input)
348
  id_recognition_button = gr.Button("ID Card Recognition")
349
  with gr.Column(scale=5):
 
327
  with gr.Row():
328
  with gr.Column():
329
  compare_face_input1 = gr.Image(type='filepath')
330
+ gr.Examples(['gradio/face_examples/1.jpg', 'gradio/face_examples/3.jpg', 'gradio/face_examples/5.jpg', 'gradio/face_examples/7.jpg', 'gradio/face_examples/9.jpg'],
331
  inputs=compare_face_input1)
332
  compare_face_button = gr.Button("Compare Face")
333
  with gr.Column():
334
  compare_face_input2 = gr.Image(type='filepath')
335
+ gr.Examples(['gradio/face_examples/2.jpg', 'gradio/face_examples/4.jpg', 'gradio/face_examples/6.jpg', 'gradio/face_examples/8.jpg', 'gradio/face_examples/10.jpg'],
336
  inputs=compare_face_input2)
337
  with gr.Column():
338
  compare_face_output = gr.Image(type="pil").style(height=150)
 
343
  with gr.Row():
344
  with gr.Column(scale=3):
345
  id_image_input = gr.Image(type='filepath')
346
+ gr.Examples(['gradio/idcard_examples/1.jpg', 'gradio/idcard_examples/2.jpg', 'gradio/idcard_examples/3.jpg'],
347
  inputs=id_image_input)
348
  id_recognition_button = gr.Button("ID Card Recognition")
349
  with gr.Column(scale=5):