Update app.py
Browse files
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.
|
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()
|