un-defined commited on
Commit
497494d
·
1 Parent(s): d148bf9

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,5 +3,5 @@ import gradio as gr
3
  def greet(name):
4
  return('Hello + name + !!')
5
 
6
- iface = gr.Interface(fn=greet, inputs=text, outputs=text)
7
  iface.launch()
 
3
  def greet(name):
4
  return('Hello + name + !!')
5
 
6
+ iface = gr.Interface(fn=greet, inputs=text, outputs=greet(text))
7
  iface.launch()