Spaces:
Sleeping
Sleeping
george sami commited on
Commit ·
14b29a2
1
Parent(s): 8b29e27
add packgaes to requirements
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from fastai.vision.all import *
|
|
| 4 |
def is_cat(x): return x[0].isupper()
|
| 5 |
|
| 6 |
learner = load_learner("model.pkl")
|
| 7 |
-
categories = ("
|
| 8 |
|
| 9 |
def classify_image(img):
|
| 10 |
if img is None:
|
|
|
|
| 4 |
def is_cat(x): return x[0].isupper()
|
| 5 |
|
| 6 |
learner = load_learner("model.pkl")
|
| 7 |
+
categories = ("Dog", "Cat")
|
| 8 |
|
| 9 |
def classify_image(img):
|
| 10 |
if img is None:
|