jph00 commited on
Commit
7e9f395
1 Parent(s): a61f902
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
  import gradio as gr
2
- def greet(): return "Hello"
3
- gr.Interface(fn=greet, inputs=[], outputs="text").launch()
4
 
 
1
  import gradio as gr
2
+ def greet(nm): return f"Hello {nm}!"
3
+ gr.Interface(fn=greet, inputs="text", outputs="text").launch()
4