RivianG commited on
Commit
43fd69e
1 Parent(s): 6e3ee8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ if submit:
32
  image = load_image(image_file)
33
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='yoloocr_best.pt')
34
  model.cpu()
35
- model.conf = 0.45
36
  license = DetectLicensePlate()
37
  counter = dict()
38
  frame = np.array(image)[...,::-1]
 
32
  image = load_image(image_file)
33
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='yoloocr_best.pt')
34
  model.cpu()
35
+ model.conf = 0.5
36
  license = DetectLicensePlate()
37
  counter = dict()
38
  frame = np.array(image)[...,::-1]