Sujithanumala commited on
Commit
14d37ea
·
verified ·
1 Parent(s): 25817c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- def greet(name):
3
- return f"Hello {name}"
4
  iface = gr.Interface(fn = greet,inputs = "text",outputs = "text")
5
  iface.launch()
 
1
  import gradio as gr
2
+ def greet(name,age):
3
+ return f"Hello {name} {age}"
4
  iface = gr.Interface(fn = greet,inputs = "text",outputs = "text")
5
  iface.launch()