Spaces:
Runtime error
Runtime error
Kryko7
commited on
Commit
·
2f2922d
1
Parent(s):
5c58915
Updated app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ learn = load_learner('model.pkl')
|
|
8 |
|
9 |
|
10 |
labels = learn.dls.vocab
|
|
|
11 |
def predict(img):
|
12 |
img = PILImage.create(img)
|
13 |
pred,pred_idx,probs = learn.predict(img)
|
|
|
8 |
|
9 |
|
10 |
labels = learn.dls.vocab
|
11 |
+
|
12 |
def predict(img):
|
13 |
img = PILImage.create(img)
|
14 |
pred,pred_idx,probs = learn.predict(img)
|