mengdechao commited on
Commit
6172c28
·
1 Parent(s): f8bab3d
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!"
5
+
6
+ demo = gr.Interface(fn=greet,
7
+ inputs=gr.Textbox(lines=2, placeholder="Name here..."),
8
+ outputs="text")
9
+
10
+ demo.launch()