monaal commited on
Commit
e1eb034
·
verified ·
1 Parent(s): f5e3b2c

Delete ml.py

Browse files
Files changed (1) hide show
  1. ml.py +0 -8
ml.py DELETED
@@ -1,8 +0,0 @@
1
- from fastai.vision.all import *
2
- learn = load_learner('modeldatesF.pkl')
3
- labels = learn.dls.vocab
4
- def predict(img):
5
- img = PILImage.create(img)
6
- return print(learn.predict(img))
7
-
8
- predict("test03.png")