Turing311 commited on
Commit
1236fe2
·
1 Parent(s): 8d6f814
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -87,7 +87,6 @@ def compare_face(frame1, frame2):
87
  except:
88
  pass
89
 
90
- print(face1, face2)
91
  return [r.json(), [face1, face2]]
92
 
93
  with gr.Blocks() as demo:
@@ -107,7 +106,7 @@ with gr.Blocks() as demo:
107
  gr.Examples(['examples/3.jpg', 'examples/4.jpg'],
108
  inputs=compare_face_input2)
109
  with gr.Column():
110
- compare_face_output = gr.Gallery(label="Faces", height=150, columns=[2], rows=[1])
111
  compare_result_output = gr.JSON(label='Result')
112
 
113
  compare_face_button.click(compare_face, inputs=[compare_face_input1, compare_face_input2], outputs=[compare_result_output, compare_face_output])
 
87
  except:
88
  pass
89
 
 
90
  return [r.json(), [face1, face2]]
91
 
92
  with gr.Blocks() as demo:
 
106
  gr.Examples(['examples/3.jpg', 'examples/4.jpg'],
107
  inputs=compare_face_input2)
108
  with gr.Column():
109
+ compare_face_output = gr.Gallery(label="Faces", height=240, columns=[2], rows=[1])
110
  compare_result_output = gr.JSON(label='Result')
111
 
112
  compare_face_button.click(compare_face, inputs=[compare_face_input1, compare_face_input2], outputs=[compare_result_output, compare_face_output])