Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def detect(img,thr=0.2,cope='none'):
|
|
82 |
labels, boxes, scores=model(t_img,size)
|
83 |
elif cope == 'cope12':
|
84 |
labels, boxes, scores=model2(t_img,size)
|
85 |
-
else
|
86 |
labels, boxes, scores=model3(t_img,size)
|
87 |
#img_path = Path('./a.jpg')
|
88 |
draw = ImageDraw.Draw(img)
|
|
|
82 |
labels, boxes, scores=model(t_img,size)
|
83 |
elif cope == 'cope12':
|
84 |
labels, boxes, scores=model2(t_img,size)
|
85 |
+
else:
|
86 |
labels, boxes, scores=model3(t_img,size)
|
87 |
#img_path = Path('./a.jpg')
|
88 |
draw = ImageDraw.Draw(img)
|