Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,7 @@ def process_img(image):
|
|
26 |
|
27 |
with torch.no_grad():
|
28 |
result = model(source=image)
|
|
|
29 |
if len(result[0].boxes)>0:
|
30 |
ann=Annotator(im=image)
|
31 |
boxes=result[0].boxes.xyxy
|
|
|
26 |
|
27 |
with torch.no_grad():
|
28 |
result = model(source=image)
|
29 |
+
lbel=''
|
30 |
if len(result[0].boxes)>0:
|
31 |
ann=Annotator(im=image)
|
32 |
boxes=result[0].boxes.xyxy
|