ChanLeoAlex commited on
Commit
409f4b5
·
verified ·
1 Parent(s): 3d3cdba

create app.py

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