Turing311 commited on
Commit
fc49140
·
1 Parent(s): 17e0a61
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -103,16 +103,18 @@ with gr.Blocks(theme='aliabid94/new-theme') as demo:
103
  )'''
104
  with gr.Row():
105
  with gr.Row():
106
- with gr.Column():
107
- compare_face_input1 = gr.Image(label="Image1", type='filepath', height=480)
108
- gr.Examples(['examples/1.jpg', 'examples/2.jpg', 'examples/3.jpg', 'examples/4.jpg'],
109
- inputs=compare_face_input1)
110
- with gr.Column():
111
- compare_face_input2 = gr.Image(label="Image2", type='filepath', height=480)
112
- gr.Examples(['examples/5.jpg', 'examples/6.jpg', 'examples/7.jpg', 'examples/8.jpg'],
113
- inputs=compare_face_input2)
114
- compare_face_button = gr.Button("Face Analysis & Verification", variant="primary")
115
-
 
 
116
  with gr.Column():
117
  compare_face_output = gr.Gallery(label="Faces", height=250, columns=[2], rows=[1])
118
  with gr.Row():
 
103
  )'''
104
  with gr.Row():
105
  with gr.Row():
106
+ with gr.Row():
107
+ with gr.Column():
108
+ compare_face_input1 = gr.Image(label="Image1", type='filepath', height=480)
109
+ gr.Examples(['examples/1.jpg', 'examples/2.jpg', 'examples/3.jpg', 'examples/4.jpg'],
110
+ inputs=compare_face_input1)
111
+ with gr.Column():
112
+ compare_face_input2 = gr.Image(label="Image2", type='filepath', height=480)
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])
120
  with gr.Row():