Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,8 @@ def face_search(im1,im2, threshold):
|
|
23 |
|
24 |
with gr.Blocks() as face_compare:
|
25 |
with gr.Row():
|
26 |
-
im1 = gr.Image(label='Register', type='filepath', height=300) #.style(full_width=True, height=300)
|
27 |
-
im2 = gr.Image(label='Image for Search', type='filepath', height=300) #.style(full_width=True, height=300)
|
28 |
|
29 |
with gr.Row():
|
30 |
im3 = gr.Image(label='Output', height=300) #.style(height=300, full_width=True, full_height=True)
|
|
|
23 |
|
24 |
with gr.Blocks() as face_compare:
|
25 |
with gr.Row():
|
26 |
+
im1 = gr.Image(value="example/ronaldo.jpg", label='Register', type='filepath', height=300) #.style(full_width=True, height=300)
|
27 |
+
im2 = gr.Image(value="example/face2.jpg", label='Image for Search', type='filepath', height=300) #.style(full_width=True, height=300)
|
28 |
|
29 |
with gr.Row():
|
30 |
im3 = gr.Image(label='Output', height=300) #.style(height=300, full_width=True, full_height=True)
|