Search⌘ K
AI Features

Slider with Gradio

Explore how to create and configure a Slider in Gradio with minimum, maximum, and step parameters. Learn to use event listeners like release to trigger functions, and apply a Slider to filter data dynamically, enhancing interactivity in machine learning applications.

Slider

Slider allows users to select on a continuous numerical scale defined within a minimum and maximum value. A Slider in Gradio can be instantiated with gr.Slider() or with Interface string shortcut 'slider'.

If the slider is passed as an input into a function, it will pass the slider value as a float into the function. If the slider is passed as an output value from a function, it expects the ...