jmparejaz commited on
Commit
d4ac851
·
1 Parent(s): 0fe6a90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -8,8 +8,10 @@ reloaded_model_eth = from_pretrained_keras('jmparejaz/Facial_eth_recognition')
8
  def rgb2gray(rgb):
9
  return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140])
10
 
 
 
11
 
12
 
13
 
14
- iface = gr.Interface(fn=rgb2gray, inputs="image", outputs="text")
15
  iface.launch()
 
8
  def rgb2gray(rgb):
9
  return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140])
10
 
11
+ def fun(a):
12
+ return ("jay",a)
13
 
14
 
15
 
16
+ iface = gr.Interface(fn=rgb2gray, inputs="image", outputs=["text","image"])
17
  iface.launch()