Spaces:
Sleeping
Sleeping
Abdullah-Habib
commited on
Commit
·
645ab3f
1
Parent(s):
4d4d4b1
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ __all__ = ['is_Rabbit',"learn",'classify_image', 'categories','image','label','e
|
|
3 |
# Cell
|
4 |
from fastai.vision.all import *
|
5 |
import gradio as gr
|
6 |
-
def is_cat(x): return x[
|
7 |
|
8 |
|
9 |
learn = load_learner ('model.pkl')
|
|
|
3 |
# Cell
|
4 |
from fastai.vision.all import *
|
5 |
import gradio as gr
|
6 |
+
def is_cat(x): return x[1].isupper()
|
7 |
|
8 |
|
9 |
learn = load_learner ('model.pkl')
|