xuanmo commited on
Commit
253ac1d
1 Parent(s): e4296b3

add app file

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: UTF-8 -*-
2
+ '''
3
+ @author xuanmo
4
+ @date 2023/5/23
5
+ @name __init__.py
6
+ '''
7
+ import gradio as gr
8
+
9
+ def greet(name):
10
+ return "Hello " + name + "!!"
11
+
12
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
13
+ iface.launch()