Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
DanielViniciusAlves
/
AM_Lesson2
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
DanielViniciusAlves
commited on
Nov 14, 2022
Commit
c60c6d9
·
1 Parent(s):
41a1c90
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+2
-0
app.py
CHANGED
Viewed
@@ -1,3 +1,5 @@
1
learn = load_learner('model.pkl')
2
labels = learn.dls.vocab
3
def predict(img):
1
+
from fastai import load_learner
2
+
3
learn = load_learner('model.pkl')
4
labels = learn.dls.vocab
5
def predict(img):