gracilaria0 commited on
Commit
d0ab552
·
verified ·
1 Parent(s): 7da3ed8
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio
2
+
3
+ def greet(name:str) -> str:
4
+ return "hallochen " + name
5
+
6
+ demo = gradio.Interface(
7
+ fn = greet,
8
+ inputs = ["text"],
9
+ outputs = ["text"],
10
+ )
11
+
12
+ demo.launch()