WowliamGuo commited on
Commit
afcc286
Β·
1 Parent(s): 8e911ed
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from fastai.vision.all import *
3
 
4
  learn = load_learner('owl_model.pkl')
5
- categories = ('barn owl face', 'apple cut in half')
6
 
7
  def classifier(img):
8
  pred, idx, prob = learn.predict(img)
 
2
  from fastai.vision.all import *
3
 
4
  learn = load_learner('owl_model.pkl')
5
+ categories = ('apple cut in half', 'barn owl face')
6
 
7
  def classifier(img):
8
  pred, idx, prob = learn.predict(img)