update labels
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def is_cat(x): return x[0].isupper()
|
|
6 |
learn_inf = load_learner('DogCat.pkl')
|
7 |
labels = learn_inf.dls.vocab
|
8 |
|
9 |
-
labels = ['
|
10 |
|
11 |
def predict(img):
|
12 |
img = PILImage.create(img)
|
|
|
6 |
learn_inf = load_learner('DogCat.pkl')
|
7 |
labels = learn_inf.dls.vocab
|
8 |
|
9 |
+
labels = ['Dog', 'Cat']
|
10 |
|
11 |
def predict(img):
|
12 |
img = PILImage.create(img)
|