sarwansingh commited on
Commit
f591632
·
verified ·
1 Parent(s): 6cb79a7

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name, intensity):
4
+ return "Hello, " + name + "!" * int(intensity)
5
+
6
+ demo = gr.Interface( fn=greet, inputs=["text", "slider"], outputs=["text"],
7
+ )
8
+ demo.launch()