gl-24
commited on
Commit
•
3af8cd7
1
Parent(s):
7852848
typos
Browse files
app.py
CHANGED
@@ -10,8 +10,6 @@ categories = ('Dog','Cat')
|
|
10 |
def is_cat(x):
|
11 |
return x[0].isupper()
|
12 |
|
13 |
-
|
14 |
-
|
15 |
def classify_image(img):
|
16 |
pred,idx,probs = learn.predict(img)
|
17 |
return dict(zip(categories, map(float, probs)))
|
|
|
10 |
def is_cat(x):
|
11 |
return x[0].isupper()
|
12 |
|
|
|
|
|
13 |
def classify_image(img):
|
14 |
pred,idx,probs = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|