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

Update app.py

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