conciomith commited on
Commit
d5d890f
·
1 Parent(s): 8e9300e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,9 +6,9 @@ def RetinaFace(img):
6
  return faces[0]
7
 
8
 
9
- inputs = gr.inputs.Image(type="filepath")
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