Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def rgb2gray(rgb):
|
|
13 |
|
14 |
def fun(a):
|
15 |
reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
|
16 |
-
inp =
|
17 |
|
18 |
return inp
|
19 |
|
|
|
13 |
|
14 |
def fun(a):
|
15 |
reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
|
16 |
+
inp = a.reshape((-1, 224, 224, 3))
|
17 |
|
18 |
return inp
|
19 |
|