Spaces:
Runtime error
Runtime error
amirgame197
commited on
Commit
•
be1eb30
1
Parent(s):
73990a9
Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,6 @@ def process(input_img):
|
|
6 |
converted = detector.censor(input_img)
|
7 |
return converted
|
8 |
|
9 |
-
iface = gr.Interface(
|
|
|
10 |
iface.launch()
|
|
|
6 |
converted = detector.censor(input_img)
|
7 |
return converted
|
8 |
|
9 |
+
iface = gr.Interface(process, gr.components.Image(type='filepath'), gr.components.Image(type="filepath"))
|
10 |
+
|
11 |
iface.launch()
|