paugar commited on
Commit
76818d8
·
verified ·
1 Parent(s): 64fa63b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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