akhaliq HF staff commited on
Commit
a9f616c
1 Parent(s): 63ff4f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -68,5 +68,8 @@ def inference(img):
68
  return "out.png"
69
 
70
 
71
- gr.Interface(inference,gr.inputs.Image(type="filepath"),gr.outputs.Image(type="file")).launch()
 
 
 
72
 
 
68
  return "out.png"
69
 
70
 
71
+ title="UltraFace"
72
+ description="This model is a lightweight face detection model designed for edge computing devices."
73
+
74
+ gr.Interface(inference,gr.inputs.Image(type="filepath",source="webcam"),gr.outputs.Image(type="file"),title=title,description=description).launch()
75