Spaces:
Runtime error
Runtime error
henrikfalch
commited on
Commit
•
5036d62
1
Parent(s):
091e996
hmm right
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def is_zebra(x): return x[0].isupper()
|
|
12 |
learn = load_learner('model.pkl')
|
13 |
|
14 |
# Cell
|
15 |
-
categories = ('
|
16 |
|
17 |
def classify_image(img):
|
18 |
pred,idx,probs = learn.predict(img)
|
|
|
12 |
learn = load_learner('model.pkl')
|
13 |
|
14 |
# Cell
|
15 |
+
categories = ('Horse', 'Unicorn', 'Zebra')
|
16 |
|
17 |
def classify_image(img):
|
18 |
pred,idx,probs = learn.predict(img)
|