Spaces:
Runtime error
Runtime error
Commit
•
c187be0
1
Parent(s):
8a685b2
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def is_cat(x):
|
|
7 |
|
8 |
learner = load_learner('model.pkl')
|
9 |
|
10 |
-
categories =
|
11 |
|
12 |
def classify_image(img):
|
13 |
pred, idx, probs = learner.predict(img)
|
|
|
7 |
|
8 |
learner = load_learner('model.pkl')
|
9 |
|
10 |
+
categories = ('cat', 'dog')
|
11 |
|
12 |
def classify_image(img):
|
13 |
pred, idx, probs = learner.predict(img)
|