Spaces:
Sleeping
Sleeping
Update
Browse files
app.py
CHANGED
|
@@ -103,17 +103,13 @@ with gr.Blocks(theme='aliabid94/new-theme') as demo:
|
|
| 103 |
)'''
|
| 104 |
with gr.Row():
|
| 105 |
with gr.Row():
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
gr.Examples(['examples/5.jpg', 'examples/6.jpg', 'examples/7.jpg', 'examples/8.jpg'],
|
| 114 |
-
inputs=compare_face_input2)
|
| 115 |
-
with gr.Row():
|
| 116 |
-
compare_face_button = gr.Button("Face Analysis & Verification", variant="primary")
|
| 117 |
|
| 118 |
with gr.Column():
|
| 119 |
compare_face_output = gr.Gallery(label="Faces", height=250, columns=[2], rows=[1])
|
|
|
|
| 103 |
)'''
|
| 104 |
with gr.Row():
|
| 105 |
with gr.Row():
|
| 106 |
+
compare_face_input1 = gr.Image(label="Image1", type='filepath', height=480)
|
| 107 |
+
gr.Examples(['examples/1.jpg', 'examples/2.jpg', 'examples/3.jpg', 'examples/4.jpg'],
|
| 108 |
+
inputs=compare_face_input1)
|
| 109 |
+
compare_face_input2 = gr.Image(label="Image2", type='filepath', height=480)
|
| 110 |
+
gr.Examples(['examples/5.jpg', 'examples/6.jpg', 'examples/7.jpg', 'examples/8.jpg'],
|
| 111 |
+
inputs=compare_face_input2)
|
| 112 |
+
compare_face_button = gr.Button("Face Analysis & Verification", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
with gr.Column():
|
| 115 |
compare_face_output = gr.Gallery(label="Faces", height=250, columns=[2], rows=[1])
|