File size: 194 Bytes
cff691d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr

def greet(name, intensity):
    return "Hello " * intensity + name + "!"


iface = gr.Interface(fn=greet, inputs=["text", "slider"], outputs="text")
iface.launch(share=True)