WowliamGuo
commited on
Commit
Β·
afcc286
1
Parent(s):
8e911ed
bug
Browse files
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 = ('
|
| 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)
|