suinY00N commited on
Commit
03fbd8f
โ€ข
1 Parent(s): e4f1d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def face_similarity(img1, img2):
17
  return f"์œ ์‚ฌ๋„: {similarity:.2f}\n{message}"
18
 
19
  iface = gr.Interface(fn=face_similarity,
20
- inputs=[gr.inputs.Image(shape=(224, 224)), gr.inputs.Image(shape=(224, 224))],
21
  outputs="text",
22
  title="์–ผ๊ตด ์œ ์‚ฌ๋„ ์ธก์ •",
23
  description="๋‘ ์–ผ๊ตด ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•ด์„œ ์œ ์‚ฌ๋„๋ฅผ ์ธก์ •ํ•ฉ๋‹ˆ๋‹ค.")
 
17
  return f"์œ ์‚ฌ๋„: {similarity:.2f}\n{message}"
18
 
19
  iface = gr.Interface(fn=face_similarity,
20
+ inputs=[gr.Image(shape=(224, 224)), gr.Image(shape=(224, 224))],
21
  outputs="text",
22
  title="์–ผ๊ตด ์œ ์‚ฌ๋„ ์ธก์ •",
23
  description="๋‘ ์–ผ๊ตด ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•ด์„œ ์œ ์‚ฌ๋„๋ฅผ ์ธก์ •ํ•ฉ๋‹ˆ๋‹ค.")