Spaces:
Sleeping
Sleeping
added changes
Browse files- app.py +2 -2
- export.pkl +2 -2
app.py
CHANGED
@@ -3,8 +3,8 @@ from fastai.vision.all import *
|
|
3 |
import skimage
|
4 |
|
5 |
learn = load_learner('export.pkl')
|
6 |
-
|
7 |
-
labels =
|
8 |
def predict(img):
|
9 |
img = PILImage.create(img)
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
|
|
3 |
import skimage
|
4 |
|
5 |
learn = load_learner('export.pkl')
|
6 |
+
|
7 |
+
labels = learn.dls.vocab
|
8 |
def predict(img):
|
9 |
img = PILImage.create(img)
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
export.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d29df3511ce532fa048454834383e5790cd3575b7fd50b18c0944d0e7fde529c
|
3 |
+
size 103043993
|