przem8k commited on
Commit
20633ca
1 Parent(s): 7a6c6d4

Create app.py

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