王闯 commited on
Commit
d672021
1 Parent(s): 5ee7e0d

add app.py file

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