Ahsen Khaliq commited on
Commit
9b83e75
1 Parent(s): 19ef211

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,6 +1,4 @@
1
  import os
2
- os.system("pip freeze")
3
- os.system("pip install gradio==2.3.6")
4
  import gradio as gr
5
  from deepface import DeepFace
6
 
@@ -19,4 +17,4 @@ title = "DeepFace"
19
  description = "Gradio demo for DeepFace for face verification: verifies face pairs as same person or different persons. To use it, simply upload your images, or click one of the examples to load them. Read more at the links below."
20
  article = "<p style='text-align: center'><a href='https://github.com/serengil/deepface' target='_blank'>Github Repo</a></p>"
21
 
22
- gr.Interface(inference,["image","image"],gr.outputs.Label(type='value'),enable_queue=True,examples=examples, title=title,description=description,article=article).launch(debug=True)
1
  import os
 
 
2
  import gradio as gr
3
  from deepface import DeepFace
4
 
17
  description = "Gradio demo for DeepFace for face verification: verifies face pairs as same person or different persons. To use it, simply upload your images, or click one of the examples to load them. Read more at the links below."
18
  article = "<p style='text-align: center'><a href='https://github.com/serengil/deepface' target='_blank'>Github Repo</a></p>"
19
 
20
+ gr.Interface(inference,["image","image"],"text",enable_queue=True,examples=examples, title=title,description=description,article=article).launch(debug=True)