Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import os
|
|
9 |
import streamlit as st
|
10 |
|
11 |
|
12 |
-
model = torch.hub.load('/
|
13 |
model.cuda()
|
14 |
model.conf = 0.5
|
15 |
license = DetectLicensePlate()
|
|
|
9 |
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()
|