yqcyqc commited on
Commit
fbafe35
·
verified ·
1 Parent(s): f20747c

Upload test.py

Browse files
Files changed (1) hide show
  1. test.py +12 -0
test.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ def greet(name):
3
+ return "Hello " + name + "!"
4
+
5
+
6
+ demo = gr.Interface(
7
+ fn=greet,
8
+ inputs="textbox",
9
+ outputs="textbox"
10
+ )
11
+
12
+ demo.launch(share=True)