Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def rgb2gray(rgb):
|
|
12 |
return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140])
|
13 |
|
14 |
def fun(a):
|
15 |
-
reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
|
16 |
img=load_img(a, grayscale=True)
|
17 |
|
18 |
#inp = a.reshape((-1, 48, 48, 3))
|
|
|
12 |
return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140])
|
13 |
|
14 |
def fun(a):
|
15 |
+
#reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
|
16 |
img=load_img(a, grayscale=True)
|
17 |
|
18 |
#inp = a.reshape((-1, 48, 48, 3))
|