Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lappemic
commited on
Commit
•
1570fb2
1
Parent(s):
260f4a1
Change slider values
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ box_blur_demo = gr.Interface(
|
|
71 |
box_blur_fn,
|
72 |
[
|
73 |
gr.inputs.Image(type="file"),
|
74 |
-
gr.inputs.Slider(minimum=1, maximum=20, step=1, default=
|
75 |
],
|
76 |
"image",
|
77 |
examples=examples,
|
@@ -86,7 +86,7 @@ blur_pool2d_demo = gr.Interface(
|
|
86 |
blur_pool2d_fn,
|
87 |
[
|
88 |
gr.inputs.Image(type="file"),
|
89 |
-
gr.inputs.Slider(minimum=1, maximum=40, step=1, default=
|
90 |
],
|
91 |
"image",
|
92 |
examples=examples,
|
@@ -101,7 +101,7 @@ gaussian_blur_demo = gr.Interface(
|
|
101 |
gaussian_blur_fn,
|
102 |
[
|
103 |
gr.inputs.Image(type="file"),
|
104 |
-
gr.inputs.Slider(minimum=1, maximum=
|
105 |
],
|
106 |
"image",
|
107 |
examples=examples,
|
@@ -116,7 +116,7 @@ max_blur_pool2d_demo = gr.Interface(
|
|
116 |
max_blur_pool2d_fn,
|
117 |
[
|
118 |
gr.inputs.Image(type="file"),
|
119 |
-
gr.inputs.Slider(minimum=1, maximum=40, step=1, default=
|
120 |
],
|
121 |
"image",
|
122 |
examples=examples,
|
@@ -130,7 +130,7 @@ median_blur_demo = gr.Interface(
|
|
130 |
median_blur_fn,
|
131 |
[
|
132 |
gr.inputs.Image(type="file"),
|
133 |
-
gr.inputs.Slider(minimum=1, maximum=
|
134 |
],
|
135 |
"image",
|
136 |
examples=examples,
|
|
|
71 |
box_blur_fn,
|
72 |
[
|
73 |
gr.inputs.Image(type="file"),
|
74 |
+
gr.inputs.Slider(minimum=1, maximum=20, step=1, default=10, label="Box Blur")
|
75 |
],
|
76 |
"image",
|
77 |
examples=examples,
|
|
|
86 |
blur_pool2d_fn,
|
87 |
[
|
88 |
gr.inputs.Image(type="file"),
|
89 |
+
gr.inputs.Slider(minimum=1, maximum=40, step=1, default=20, label="Blur Pool")
|
90 |
],
|
91 |
"image",
|
92 |
examples=examples,
|
|
|
101 |
gaussian_blur_fn,
|
102 |
[
|
103 |
gr.inputs.Image(type="file"),
|
104 |
+
gr.inputs.Slider(minimum=1, maximum=30, step=2, default=15, label="Gaussian Blur")
|
105 |
],
|
106 |
"image",
|
107 |
examples=examples,
|
|
|
116 |
max_blur_pool2d_fn,
|
117 |
[
|
118 |
gr.inputs.Image(type="file"),
|
119 |
+
gr.inputs.Slider(minimum=1, maximum=40, step=1, default=20, label="Max Pool")
|
120 |
],
|
121 |
"image",
|
122 |
examples=examples,
|
|
|
130 |
median_blur_fn,
|
131 |
[
|
132 |
gr.inputs.Image(type="file"),
|
133 |
+
gr.inputs.Slider(minimum=1, maximum=30, step=2, default=15, label="Median Blur")
|
134 |
],
|
135 |
"image",
|
136 |
examples=examples,
|