Spaces:
Running
Running
import gradio as gr | |
with gr.Blocks() as demo: | |
slider = gr.Slider(minimum=-5, maximum=5, step=1, value=3) | |
gr.Examples(examples=[-2, -1, 0, 1, 2], inputs=slider) | |
demo.launch() |