jmparejaz commited on
Commit
815643c
·
1 Parent(s): 02a79a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,9 +14,9 @@ def rgb2gray(rgb):
14
  def fun(a):
15
  #reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
16
  #img=load_img(a, grayscale=True)
17
- logging.info("%s"%a.shape)
18
  #inp = a.reshape((-1, 48, 48, 3))
19
- return img
20
 
21
 
22
  gr.Interface(fn=fun, inputs="image", outputs="image").launch()
 
14
  def fun(a):
15
  #reloaded_model = from_pretrained_keras('jmparejaz/Facial_Age-gender-eth_Recognition')
16
  #img=load_img(a, grayscale=True)
17
+ logging.info("%s, %s "%(a.shape[0],a.shape[1])
18
  #inp = a.reshape((-1, 48, 48, 3))
19
+ return a
20
 
21
 
22
  gr.Interface(fn=fun, inputs="image", outputs="image").launch()