Spaces:
Runtime error
Runtime error
Commit
·
d5d890f
1
Parent(s):
8e9300e
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ def RetinaFace(img):
|
|
| 6 |
return faces[0]
|
| 7 |
|
| 8 |
|
| 9 |
-
|
| 10 |
examples=[['Rdj.jpg']]
|
| 11 |
-
gr.Interface(fn=RetinaFace, inputs=inputs, outputs="plot", title="RetinaFace",examples=examples).launch(inbrowser=True)
|
| 12 |
|
| 13 |
|
| 14 |
|
|
|
|
| 6 |
return faces[0]
|
| 7 |
|
| 8 |
|
| 9 |
+
|
| 10 |
examples=[['Rdj.jpg']]
|
| 11 |
+
gr.Interface(fn=RetinaFace, inputs=gr.inputs.Image(type="filepath"), outputs="plot", title="RetinaFace",examples=examples).launch(inbrowser=True)
|
| 12 |
|
| 13 |
|
| 14 |
|