Yao Zhang commited on
Commit
0e8d270
·
1 Parent(s): 1366655

Add application file

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ # coding=utf-8
3
+ # Author: Yao
4
+ # Mail: zhangyao215@mails.ucas.ac.cn
5
+
6
+ import gradio as gr
7
+
8
+ def greet(name):
9
+ return "Hello " + name + "!!"
10
+
11
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
12
+ iface.launch()
13
+