Spaces:
Sleeping
Sleeping
yvesnewman
commited on
Commit
·
cedae43
1
Parent(s):
096774b
Upload app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def is_cat(x): return x[0].isupper()
|
|
7 |
learn = load_learner('model2.pkl')
|
8 |
|
9 |
# cell
|
10 |
-
categories = ['
|
11 |
|
12 |
def classify_image(img):
|
13 |
pred,idx,probs = learn.predict(img)
|
|
|
7 |
learn = load_learner('model2.pkl')
|
8 |
|
9 |
# cell
|
10 |
+
categories = ['Dog', 'Cat']
|
11 |
|
12 |
def classify_image(img):
|
13 |
pred,idx,probs = learn.predict(img)
|