rpa45 commited on
Commit
a91cddc
1 Parent(s): 46f2780

added 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 "Hey " +name+ "!!"
5
+
6
+ iface = gr.Interface(
7
+ fn=greet,
8
+ inputs='text',
9
+ outputs='text'
10
+ )
11
+
12
+ iface.launch()