Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import gradio as gr
|
|
| 7 |
def is_cat(x):
|
| 8 |
return x[0].isupper()
|
| 9 |
|
| 10 |
-
learn = load_learner(
|
| 11 |
|
| 12 |
def classify_image(img):
|
| 13 |
pred, idx, probs = learn.predict(img)
|
|
|
|
| 7 |
def is_cat(x):
|
| 8 |
return x[0].isupper()
|
| 9 |
|
| 10 |
+
learn = load_learner('model.pkl')
|
| 11 |
|
| 12 |
def classify_image(img):
|
| 13 |
pred, idx, probs = learn.predict(img)
|