From cf3923e307930965dfc200068e0399bc4ab103f7 Mon Sep 17 00:00:00 2001
From: Ali Abid <aliabid94@gmail.com>
Date: Tue, 2 Mar 2021 17:17:32 -0800
Subject: [PATCH] webcam demo fixes

---
 demo/face_segment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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