narugo commited on
Commit
62853a6
·
verified ·
1 Parent(s): a96803e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from imgutils.generic import YOLOModel
2
+
3
+ model = YOLOModel('deepghs/yolo-person')
4
+ model.launch_demo(
5
+ default_iou_threshold=0.25,
6
+ default_conf_threshold=0.7,
7
+ default_model_name='yolov8n-person',
8
+ )