Spaces:
Runtime error
Runtime error
Rehman1603
commited on
Commit
•
d4507d2
1
Parent(s):
d3dc09c
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def Predict(img):
|
|
10 |
cropped_images = []
|
11 |
|
12 |
# Object detection
|
13 |
-
results = model.predict(img, conf=0.40, iou=0.45)
|
14 |
|
15 |
for r in results:
|
16 |
annotator = Annotator(img)
|
|
|
10 |
cropped_images = []
|
11 |
|
12 |
# Object detection
|
13 |
+
results = model.predict(img, conf=0.40, iou=0.45,imgsz=640)
|
14 |
|
15 |
for r in results:
|
16 |
annotator = Annotator(img)
|