Spaces:
Runtime error
Runtime error
MarcusAGray
commited on
Commit
•
bb032ca
1
Parent(s):
e233cfd
adjusted
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
|
|
|
|
4 |
learn = load_learner('model.pkl')
|
5 |
|
6 |
-
|
7 |
|
8 |
categories = ('Dog', 'Cat')
|
9 |
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
+
def is_cat(x): return x[0].isupper()
|
5 |
+
|
6 |
learn = load_learner('model.pkl')
|
7 |
|
8 |
+
|
9 |
|
10 |
categories = ('Dog', 'Cat')
|
11 |
|