Spaces:
Runtime error
Runtime error
David-Chew-HL
commited on
Commit
•
887c501
1
Parent(s):
35ad9a9
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def blur_img(img, blur):
|
|
17 |
|
18 |
#interface
|
19 |
inputs = [
|
20 |
-
gr.
|
21 |
-
gr.
|
22 |
]
|
23 |
|
24 |
output = gr.outputs.Image(type="pil", label="Blurred Image")
|
|
|
17 |
|
18 |
#interface
|
19 |
inputs = [
|
20 |
+
gr.Image(type="pil", label="Input Image"),
|
21 |
+
gr.Slider(minimum=1, maximum=200, default=10, label="Blur Amount", step=1)
|
22 |
]
|
23 |
|
24 |
output = gr.outputs.Image(type="pil", label="Blurred Image")
|