Duy-NM
commited on
Commit
·
942cb2a
1
Parent(s):
b084fe6
init
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')
|
| 27 |
-
im2 = gr.Image(label='Image for Search', type='filepath')
|
| 28 |
|
| 29 |
with gr.Row():
|
| 30 |
im3 = gr.Image(label='Output', height=300) #.style(height=300, full_width=True, full_height=True)
|
|
@@ -50,7 +50,7 @@ with gr.Blocks() as face_compare:
|
|
| 50 |
|
| 51 |
with gr.Blocks() as face_analyze:
|
| 52 |
with gr.Row():
|
| 53 |
-
im1 = gr.Image(shape=(300, 300),
|
| 54 |
im2 = gr.Image(shape=(300, 300), height=300, container=True)
|
| 55 |
|
| 56 |
with gr.Row():
|
|
|
|
| 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)
|
|
|
|
| 50 |
|
| 51 |
with gr.Blocks() as face_analyze:
|
| 52 |
with gr.Row():
|
| 53 |
+
im1 = gr.Image(shape=(300, 300), type='filepath', height=300, container=True)
|
| 54 |
im2 = gr.Image(shape=(300, 300), height=300, container=True)
|
| 55 |
|
| 56 |
with gr.Row():
|