ThankGod commited on
Commit
eb65b1d
1 Parent(s): 099f25e

Update Gradio component from Textbox to Slider in the slider2 input example.

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  with gr.Blocks() as demo:
4
  with gr.Row():
5
  text1 = gr.Textbox(label="t1")
6
- slider2 = gr.Textbox(label="s2")
7
  drop3 = gr.Dropdown(["a", "b", "c"], label="d3")
8
  with gr.Row():
9
  with gr.Column(scale=1, min_width=600):
 
3
  with gr.Blocks() as demo:
4
  with gr.Row():
5
  text1 = gr.Textbox(label="t1")
6
+ slider2 = gr.Slider(label="s2")
7
  drop3 = gr.Dropdown(["a", "b", "c"], label="d3")
8
  with gr.Row():
9
  with gr.Column(scale=1, min_width=600):