Update app.py
Browse files
app.py
CHANGED
@@ -447,8 +447,6 @@ def compare_face(frame1, frame2):
|
|
447 |
if g_fr_activation_result != 0:
|
448 |
gr.Warning("FR SDK Activation Failed!")
|
449 |
return None, None, None, None
|
450 |
-
else:
|
451 |
-
gr.Warning("FR SDK Activation Success!")
|
452 |
|
453 |
try:
|
454 |
image1 = open(frame1, 'rb')
|
|
|
447 |
if g_fr_activation_result != 0:
|
448 |
gr.Warning("FR SDK Activation Failed!")
|
449 |
return None, None, None, None
|
|
|
|
|
450 |
|
451 |
try:
|
452 |
image1 = open(frame1, 'rb')
|