dassum commited on
Commit
95286fc
1 Parent(s): 5e61e96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
 
2
- from sentence_transformers import util,SentenceTransformer
3
  model = SentenceTransformer('clip-ViT-L-14')
4
 
5
  def predict(im1, im2):
@@ -16,7 +16,7 @@ title = "Facial Identity Recognition System"
16
 
17
  interface = gr.Interface(fn=predict,
18
  inputs= [gr.Image(type="pil", source="webcam"),
19
- gr.Image(shape=(200, 200)],
20
  outputs= [gr.Number(label="Similarity"),
21
  gr.Textbox(label="Message")]
22
  )
 
1
 
2
+ from sentence_transformers import util, SentenceTransformer
3
  model = SentenceTransformer('clip-ViT-L-14')
4
 
5
  def predict(im1, im2):
 
16
 
17
  interface = gr.Interface(fn=predict,
18
  inputs= [gr.Image(type="pil", source="webcam"),
19
+ gr.Image(shape=(200, 200))],
20
  outputs= [gr.Number(label="Similarity"),
21
  gr.Textbox(label="Message")]
22
  )