Spaces:
Running
Running
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()
|