mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
webcam demo fixes
This commit is contained in:
parent
96d0f68bf9
commit
4fcc03497f
@ -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