positional args at the end only lolol
Browse files
app.py
CHANGED
@@ -54,5 +54,5 @@ def redact_image(img):
|
|
54 |
car_mask = ban_cars_mask[mask]
|
55 |
return display_mask(img, car_mask)
|
56 |
|
57 |
-
iface = gr.Interface(
|
58 |
iface.launch()
|
|
|
54 |
car_mask = ban_cars_mask[mask]
|
55 |
return display_mask(img, car_mask)
|
56 |
|
57 |
+
iface = gr.Interface(redact_image, gr.Image(sources=["webcam"], streaming=True), "image", live=True)
|
58 |
iface.launch()
|