Spaces:
Runtime error
Runtime error
Daniel K.Gunleiksrud
commited on
Commit
•
7be6084
1
Parent(s):
395aedc
flipped classes
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from fastai.vision.all import *
|
|
3 |
|
4 |
learn = load_learner('model.pkl')
|
5 |
|
6 |
-
categories = ('
|
7 |
|
8 |
def classify(img):
|
9 |
pred,_,probs = learn.predict(img)
|
|
|
3 |
|
4 |
learn = load_learner('model.pkl')
|
5 |
|
6 |
+
categories = ('Chihuahua', 'Muffin')
|
7 |
|
8 |
def classify(img):
|
9 |
pred,_,probs = learn.predict(img)
|