diff --git a/demo/face_segment.py b/demo/face_segment.py index 7cf824f7c5..30c66d6427 100644 --- a/demo/face_segment.py +++ b/demo/face_segment.py @@ -33,7 +33,7 @@ def segment_face(inp): return result / 255 -iface = gr.Interface(segment_face, gr.inputs.Image(source="webcam", tools=None), "image", capture_session=True) +iface = gr.Interface(segment_face, gr.inputs.Image(source="webcam", tool=None), "image", capture_session=True) if __name__ == "__main__": iface.launch() \ No newline at end of file