Spaces:
Runtime error
Runtime error
lappemic
commited on
Commit
•
de4ba45
1
Parent(s):
7b47d12
bracket fix
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ def filters(file, box_blur, blur_pool2d, gaussian_blur2d, max_blur_pool2d, media
|
|
15 |
x_out: Tensor = K.filters.box_blur(img, (int(box_blur), int(box_blur)))
|
16 |
x_out = K.filters.blur_pool2d(x_out, int(blur_pool2d))
|
17 |
x_out = K.filters.gaussian_blur2d(x_out,
|
18 |
-
(int(gaussian_blur2d), int(gaussian_blur2d))
|
19 |
-
(float(gaussian_blur2d), float(gaussian_blur2d))
|
20 |
x_out = K.filters.max_blur_pool2d(x_out, int(max_blur_pool2d))
|
21 |
x_out = K.filters.median_blur(x_out, (int(median_blur), int(median_blur)))
|
22 |
|
|
|
15 |
x_out: Tensor = K.filters.box_blur(img, (int(box_blur), int(box_blur)))
|
16 |
x_out = K.filters.blur_pool2d(x_out, int(blur_pool2d))
|
17 |
x_out = K.filters.gaussian_blur2d(x_out,
|
18 |
+
(int(gaussian_blur2d), int(gaussian_blur2d)),
|
19 |
+
(float(gaussian_blur2d), float(gaussian_blur2d)))
|
20 |
x_out = K.filters.max_blur_pool2d(x_out, int(max_blur_pool2d))
|
21 |
x_out = K.filters.median_blur(x_out, (int(median_blur), int(median_blur)))
|
22 |
|