jiangyu10 commited on
Commit
164d08b
·
1 Parent(s): d935a70

add application file

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ def greet(name):
3
+ retrun "Hello " + name + "!!"
4
+
5
+ iface = gr.interface(fn=greet, inputs="text", outputs="text")
6
+ iface.launch()