AllieA commited on
Commit
2f467ad
·
verified ·
1 Parent(s): 700b64c

Create add.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name): return f'Hello {name}!'
4
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
5
+ demo.launch()