Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def is_cat(x): return x[0].issuper()
|
|
7 |
|
8 |
learn = load_learner('model.pkl')
|
9 |
|
10 |
-
categories = ('
|
11 |
|
12 |
def classify_image(img):
|
13 |
pred, idx, probs = learn.predict(img)
|
|
|
7 |
|
8 |
learn = load_learner('model.pkl')
|
9 |
|
10 |
+
categories = ('Dog', 'Cat')
|
11 |
|
12 |
def classify_image(img):
|
13 |
pred, idx, probs = learn.predict(img)
|