Turing311 commited on
Commit
c6931f8
·
1 Parent(s): c37ff9a
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -106,13 +106,13 @@ with gr.Blocks(theme='aliabid94/new-theme') as demo:
106
  compare_face_input1 = gr.Image(label="Image1", type='filepath', height=480)
107
  gr.Examples(['examples/1.jpg', 'examples/2.jpg'],
108
  inputs=compare_face_input1)
109
- compare_face_button = gr.Button("Face Anaylysis & Verification")
110
  with gr.Column():
111
  compare_face_input2 = gr.Image(label="Image2", type='filepath', height=480)
112
  gr.Examples(['examples/3.jpg', 'examples/4.jpg'],
113
  inputs=compare_face_input2)
114
  with gr.Column():
115
- compare_face_output = gr.Gallery(label="Faces", height=280, columns=[2], rows=[1])
116
  compare_result_output = gr.JSON(label='Result')
117
 
118
  compare_face_button.click(compare_face, inputs=[compare_face_input1, compare_face_input2], outputs=[compare_result_output, compare_face_output])
 
106
  compare_face_input1 = gr.Image(label="Image1", type='filepath', height=480)
107
  gr.Examples(['examples/1.jpg', 'examples/2.jpg'],
108
  inputs=compare_face_input1)
109
+ compare_face_button = gr.Button("Face Analysis & Verification")
110
  with gr.Column():
111
  compare_face_input2 = gr.Image(label="Image2", type='filepath', height=480)
112
  gr.Examples(['examples/3.jpg', 'examples/4.jpg'],
113
  inputs=compare_face_input2)
114
  with gr.Column():
115
+ compare_face_output = gr.Gallery(label="Faces", height=230, columns=[2], rows=[1])
116
  compare_result_output = gr.JSON(label='Result')
117
 
118
  compare_face_button.click(compare_face, inputs=[compare_face_input1, compare_face_input2], outputs=[compare_result_output, compare_face_output])