mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
webcam demo fixes
This commit is contained in:
parent
a9db9ecb4b
commit
cf3923e307
@ -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()
|
Loading…
Reference in New Issue
Block a user