michellehbn HF Staff commited on
Commit
2c2b0c8
·
verified ·
1 Parent(s): 73a9727

Create app.py

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