Spaces:
Sleeping
Sleeping
kahraman kaya
commited on
Commit
·
d51ae79
1
Parent(s):
b46c470
v2
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from fastcore.all import *
|
|
4 |
|
5 |
learn = load_learner("model1.pkl")
|
6 |
|
7 |
-
categories = ('
|
8 |
|
9 |
def classify_img(img):
|
10 |
pred,idx,probs = learn.predict(img)
|
|
|
4 |
|
5 |
learn = load_learner("model1.pkl")
|
6 |
|
7 |
+
categories = ('Angus', 'Brown Swiss', 'Charolais', 'Hereford', 'Holstein', 'Jersey', 'Limousin', 'Simmental')
|
8 |
|
9 |
def classify_img(img):
|
10 |
pred,idx,probs = learn.predict(img)
|