Rodrigo_Cobo
commited on
Commit
•
f980881
1
Parent(s):
d8eaf88
add slider
Browse files
app.py
CHANGED
@@ -12,6 +12,9 @@ def update(img):
|
|
12 |
|
13 |
with gr.Blocks() as demo:
|
14 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
|
|
|
|
|
|
15 |
with gr.Row():
|
16 |
inp = gr.Image(type="pil", label="Input")
|
17 |
out = gr.Image(type="file", label="Output")
|
|
|
12 |
|
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.Slider(minimum= 1, maximun = 15, default = 2)
|
17 |
+
|
18 |
with gr.Row():
|
19 |
inp = gr.Image(type="pil", label="Input")
|
20 |
out = gr.Image(type="file", label="Output")
|