Spaces:
Running
Running
amirgame197
commited on
Commit
•
4e4209c
1
Parent(s):
ed1578c
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,10 @@ def process(input_img):
|
|
34 |
|
35 |
blurred_image_path = circular_blur(input_img, detections, parts_to_blur)
|
36 |
return blurred_image_path
|
|
|
|
|
|
|
37 |
|
38 |
-
iface = gr.Interface(process, gr.components.Image(type='filepath'), gr.components.Image(type="filepath"))
|
39 |
|
40 |
iface.launch()
|
|
|
34 |
|
35 |
blurred_image_path = circular_blur(input_img, detections, parts_to_blur)
|
36 |
return blurred_image_path
|
37 |
+
|
38 |
+
title = "SFW Converter"
|
39 |
+
description = 'Blurs NSFW images using "NudeNet" Package.'
|
40 |
|
41 |
+
iface = gr.Interface(process, gr.components.Image(type='filepath'), gr.components.Image(type="filepath"), title=title, description=description)
|
42 |
|
43 |
iface.launch()
|