05-032-MendicantBias aleche28 commited on
Commit
a9ae558
·
verified ·
1 Parent(s): 8cdb3cf

add example app.py with greetings (#3)

Browse files

- add example app.py with greetings (4821c6509e2c76611f71f6cfad6956828e37b631)


Co-authored-by: Alessio Chessa <aleche28@users.noreply.huggingface.co>

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