sergheevadrian commited on
Commit
7a46b43
1 Parent(s): f962d9a
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ import gradio as gr
7
  learn = load_learner('model.pkl')
8
 
9
  labels = learn.dls.vocab
 
10
 
11
  def classify_image(img):
12
  pred,idx,probs = learn.predict(img)
 
7
  learn = load_learner('model.pkl')
8
 
9
  labels = learn.dls.vocab
10
+ categories = learn.dls.vocab
11
 
12
  def classify_image(img):
13
  pred,idx,probs = learn.predict(img)