Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ labels = learn.dls.vocab
|
|
| 8 |
def predict(img):
|
| 9 |
img = PILImage.create(img)
|
| 10 |
pred,pred_idx,probs = learn.predict(img.to_thumb(32,32))
|
| 11 |
-
return
|
| 12 |
|
| 13 |
title = "Gender Detector"
|
| 14 |
interpretation='default'
|
|
|
|
| 8 |
def predict(img):
|
| 9 |
img = PILImage.create(img)
|
| 10 |
pred,pred_idx,probs = learn.predict(img.to_thumb(32,32))
|
| 11 |
+
return pred
|
| 12 |
|
| 13 |
title = "Gender Detector"
|
| 14 |
interpretation='default'
|