oValach commited on
Commit
9cf0472
·
verified ·
1 Parent(s): 313ca07

Update app.py

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