Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def face_similarity(img1, img2):
|
|
6 |
similarity = result["distance"] # ๋ฎ์์๋ก ๋ ์ ์ฌ
|
7 |
verified = result["verified"]
|
8 |
|
9 |
-
return f"์ ์ฌ๋: {similarity},
|
10 |
|
11 |
iface = gr.Interface(fn=face_similarity,
|
12 |
inputs=[gr.inputs.Image(shape=(224, 224)), gr.inputs.Image(shape=(224, 224))],
|
|
|
6 |
similarity = result["distance"] # ๋ฎ์์๋ก ๋ ์ ์ฌ
|
7 |
verified = result["verified"]
|
8 |
|
9 |
+
return f"์ ์ฌ๋: {similarity}, ๋งค์นญ ๊ฒฐ๊ณผ: {verified}"
|
10 |
|
11 |
iface = gr.Interface(fn=face_similarity,
|
12 |
inputs=[gr.inputs.Image(shape=(224, 224)), gr.inputs.Image(shape=(224, 224))],
|