Spaces:
Runtime error
Runtime error
Commit
·
3cd009b
1
Parent(s):
ad7b3d7
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,9 @@ def RFace(img):
|
|
22 |
|
23 |
|
24 |
examples=[['Rdj.jpg'],['Rdj2.jpg'],['2.jpg'],['3.jpg'],['many.jpg']]
|
25 |
-
|
|
|
|
|
26 |
|
27 |
|
28 |
|
|
|
22 |
|
23 |
|
24 |
examples=[['Rdj.jpg'],['Rdj2.jpg'],['2.jpg'],['3.jpg'],['many.jpg']]
|
25 |
+
desc = "RetinaFace is a deep learning based cutting-edge facial detector for Python coming with facial landmarks. Its detection performance for faces is especially excellent for dense crowds."
|
26 |
+
gr.Interface(fn=RFace, inputs=gr.inputs.Image(type="filepath"), outputs="image", title="RetinaFace Face Detector and Extractor",examples=examples, description=desc).launch(inbrowser=True)
|
27 |
+
|
28 |
|
29 |
|
30 |
|