suinY00N commited on
Commit
99ea7e6
โ€ข
1 Parent(s): 0b5779b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -18,10 +18,7 @@ def face_similarity(img1, img2):
18
 
19
  iface = gr.Interface(
20
  fn=face_similarity,
21
- inputs=[
22
- gr.Image(image_mode='RGB', source='upload', type='numpy'),
23
- gr.Image(image_mode='RGB', source='upload', type='numpy')
24
- ],
25
  outputs="text",
26
  title="์–ผ๊ตด ์œ ์‚ฌ๋„ ์ธก์ •",
27
  description="๋‘ ์–ผ๊ตด ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•ด์„œ ์œ ์‚ฌ๋„๋ฅผ ์ธก์ •ํ•ฉ๋‹ˆ๋‹ค."
 
18
 
19
  iface = gr.Interface(
20
  fn=face_similarity,
21
+ inputs=[gr.Image(type="numpy"), gr.Image(type="numpy")],
 
 
 
22
  outputs="text",
23
  title="์–ผ๊ตด ์œ ์‚ฌ๋„ ์ธก์ •",
24
  description="๋‘ ์–ผ๊ตด ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•ด์„œ ์œ ์‚ฌ๋„๋ฅผ ์ธก์ •ํ•ฉ๋‹ˆ๋‹ค."