zuozuo commited on
Commit
bed8885
1 Parent(s): d1f0800
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''
2
+ Author: zuojianghua
3
+ Date: 2022-07-06 10:40:08
4
+ LastEditTime: 2022-07-06 10:40:13
5
+ LastEditors: zuojianghua
6
+ Description:
7
+ FilePath: /zuo/app.py
8
+ '''
9
+ import gradio as gr
10
+
11
+ def greet(name):
12
+ return "Hello " + name + "!!"
13
+
14
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
15
+ iface.launch()