PranomVignesh
commited on
Commit
·
54ce086
1
Parent(s):
7b8d56f
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ from transformers import pipeline
|
|
6 |
imageClassifier = pipeline(task="image-classification",
|
7 |
model="PranomVignesh/Police-vs-Public")
|
8 |
|
|
|
|
|
9 |
model = yolov5.load('./best.pt', device="cpu")
|
10 |
|
11 |
def predict(image):
|
|
|
6 |
imageClassifier = pipeline(task="image-classification",
|
7 |
model="PranomVignesh/Police-vs-Public")
|
8 |
|
9 |
+
|
10 |
+
|
11 |
model = yolov5.load('./best.pt', device="cpu")
|
12 |
|
13 |
def predict(image):
|