amirgame197 commited on
Commit
be1eb30
1 Parent(s): 73990a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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(fn=process,inputs="image", outputs="image")
 
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()