Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,8 @@ import gradio as gr
|
|
9 |
|
10 |
def is_cat(x): return x[0].isupper()
|
11 |
|
|
|
|
|
12 |
# %% app.ipynb 37
|
13 |
categories = ('Dog', 'Cat')
|
14 |
def classify_image(img):
|
|
|
9 |
|
10 |
def is_cat(x): return x[0].isupper()
|
11 |
|
12 |
+
learn = load_learner('model.pkl')
|
13 |
+
|
14 |
# %% app.ipynb 37
|
15 |
categories = ('Dog', 'Cat')
|
16 |
def classify_image(img):
|