pourmand1376 commited on
Commit
705ffbd
·
1 Parent(s): 7b37b4b

Create app.py

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