Spaces:
Sleeping
Sleeping
Update
Browse files
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
|
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=
|
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])
|