Sujithanumala commited on
Commit
5c2e2c2
·
verified ·
1 Parent(s): d67b927

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",int],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","number"],outputs = "text")
5
  iface.launch()