dassum commited on
Commit
5e61e96
1 Parent(s): 0c3b034

Update app.py

Browse files

image option added

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -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(type="pil", source="webcam")],
20
  outputs= [gr.Number(label="Similarity"),
21
  gr.Textbox(label="Message")]
22
  )
 
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
  )