Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
monaal
/
ggsea
like
0
No application file
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
monaal
commited on
Mar 26, 2024
Commit
e1eb034
·
verified
·
1 Parent(s):
f5e3b2c
Delete ml.py
Browse files
Files changed (1)
hide
show
ml.py
+0
-8
ml.py
DELETED
Viewed
@@ -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")