Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
gauthamk28
commited on
Commit
•
c3f97b9
1
Parent(s):
b2997cc
set default slider's value as 0.25
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ kornia_resizing_demo = gr.Interface(
|
|
24 |
rescale_aa,
|
25 |
[
|
26 |
gr.inputs.Image(type="file"),
|
27 |
-
gr.inputs.Slider(minimum=0.005, maximum=2, step=0.005, default=0.
|
28 |
-
gr.inputs.Slider(minimum=0.005, maximum=2, step=0.005, default=0.
|
29 |
],
|
30 |
"image",
|
31 |
examples=examples,
|
|
|
24 |
rescale_aa,
|
25 |
[
|
26 |
gr.inputs.Image(type="file"),
|
27 |
+
gr.inputs.Slider(minimum=0.005, maximum=2, step=0.005, default=0.25, label="Height"),
|
28 |
+
gr.inputs.Slider(minimum=0.005, maximum=2, step=0.005, default=0.25, label="Width")
|
29 |
],
|
30 |
"image",
|
31 |
examples=examples,
|