Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def rgb2gray(rgb):
|
|
14 |
def fun(a):
|
15 |
reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
|
16 |
inp = a.reshape((-1, 48, 48, 3))
|
17 |
-
return
|
18 |
|
19 |
|
20 |
gr.Interface(fn=fun, inputs=gr.Image(shape=(48, 48)), outputs="image").launch()
|
|
|
14 |
def fun(a):
|
15 |
reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
|
16 |
inp = a.reshape((-1, 48, 48, 3))
|
17 |
+
return a
|
18 |
|
19 |
|
20 |
gr.Interface(fn=fun, inputs=gr.Image(shape=(48, 48)), outputs="image").launch()
|