chitang1 commited on
Commit
b3e9924
·
verified ·
1 Parent(s): b15374a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ from fastai.vision.all import *
11
  # def label_func(filepath):
12
  # return filepath.parent.name
13
 
14
- # LEARN = load_learner('Garbage_Classification.pkl')
15
- LEARN = load_learner('Garbage_Classification (1).pkl')
16
  LABELS = LEARN.dls.vocab
17
 
18
  def gradio_predict(img):
 
11
  # def label_func(filepath):
12
  # return filepath.parent.name
13
 
14
+ LEARN = load_learner('Garbage_Classification.pkl')
15
+ # LEARN = load_learner('Garbage_Classification (1).pkl')
16
  LABELS = LEARN.dls.vocab
17
 
18
  def gradio_predict(img):