RivianG commited on
Commit
4313318
·
1 Parent(s): e338936

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import streamlit as st
10
 
11
 
12
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='yoloocr_best.pt')
13
- model.cuda()
14
  model.conf = 0.5
15
  license = DetectLicensePlate()
16
  counter = dict()
 
10
 
11
 
12
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='yoloocr_best.pt')
13
+ model.cpu()
14
  model.conf = 0.5
15
  license = DetectLicensePlate()
16
  counter = dict()