alejandroobanjo commited on
Commit
5dd2dbc
1 Parent(s): 6ef883b

create app.py

Browse files

git add app.py
git commit -m "Add application file"
git push

Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ iface.launch()
8
+
9
+ git add app.py
10
+ git commit -m "Add application file"
11
+ git push