Spaces:
Sleeping
Sleeping
Lauren Mitchell
commited on
Commit
•
0004733
1
Parent(s):
c364ca9
changed cat and dog labels
Browse files
.DS_Store
DELETED
Binary file (6.15 kB)
|
|
app.py
CHANGED
@@ -6,7 +6,7 @@ def is_cat(x): return x[0].isupper()
|
|
6 |
|
7 |
learn = load_learner('model.pkl')
|
8 |
|
9 |
-
categories = ('
|
10 |
|
11 |
def classify_image(img):
|
12 |
pred, idx, probs = learn.predict(img)
|
|
|
6 |
|
7 |
learn = load_learner('model.pkl')
|
8 |
|
9 |
+
categories = ('Cat', 'Dog')
|
10 |
|
11 |
def classify_image(img):
|
12 |
pred, idx, probs = learn.predict(img)
|