hysts HF staff commited on
Commit
8b59027
·
verified ·
1 Parent(s): dd27741

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks() as demo:
4
+ slider = gr.Slider(minimum=-5, maximum=5, step=1, value=3)
5
+ gr.Examples(examples=[-2, -1, 0, 1, 2], inputs=slider)
6
+ demo.launch()