File size: 327 Bytes
37c6b85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import gradio as gr


def test(name, checkbox, value):
    return f"{name=}, {checkbox=}, {value=}"


demo = gr.Interface(
    fn=test,
    inputs=[gr.Text(), gr.Checkbox(), gr.Slider(0, 100)],
    outputs=gr.Text(),
    title="Multi Inputs",
    description="A simple example with multiple inputs",
)

demo.launch(share=True)