Spaces:
Runtime error
Runtime error
harshasurampudi
commited on
Commit
•
a2a302d
1
Parent(s):
539b9c0
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def label_func(fname):
|
|
8 |
|
9 |
learn = load_learner('gender.pkl')
|
10 |
|
11 |
-
categories = ('
|
12 |
|
13 |
def classify_image(img):
|
14 |
pred, idx, probs = learn.predict(img)
|
|
|
8 |
|
9 |
learn = load_learner('gender.pkl')
|
10 |
|
11 |
+
categories = ('Female', 'Male')
|
12 |
|
13 |
def classify_image(img):
|
14 |
pred, idx, probs = learn.predict(img)
|