fix categories
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def label_func(x):
|
|
17 |
learn = load_learner('model.pkl')
|
18 |
|
19 |
# Cell
|
20 |
-
categories = ('
|
21 |
|
22 |
def classify_image(img):
|
23 |
pred, idx, probs = learn.predict(img)
|
|
|
17 |
learn = load_learner('model.pkl')
|
18 |
|
19 |
# Cell
|
20 |
+
categories = ('Cat', 'Dog')
|
21 |
|
22 |
def classify_image(img):
|
23 |
pred, idx, probs = learn.predict(img)
|
cat.jpg
ADDED
![]() |