Rodrigo_Cobo commited on
Commit
530a1de
1 Parent(s): 5ace451

add slider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def update(img):
13
  with gr.Blocks() as demo:
14
  gr.Markdown("Start typing below and then click **Run** to see the output.")
15
  gr.Markdown("The **Slider** is the amount of new views")
16
- gr.inputs.Slider(1,15, default = 2, label='StepCycles',step= 1)
17
 
18
  with gr.Row():
19
  inp = gr.Image(type="pil", label="Input")
 
13
  with gr.Blocks() as demo:
14
  gr.Markdown("Start typing below and then click **Run** to see the output.")
15
  gr.Markdown("The **Slider** is the amount of new views")
16
+ slider = gr.inputs.Slider(1,15, default = 2, label='StepCycles',step= 1)
17
 
18
  with gr.Row():
19
  inp = gr.Image(type="pil", label="Input")