FaceDetection / app.py
MarcosRodrigo's picture
Update app.py
fd7485f verified
raw
history blame
194 Bytes
import gradio as gr
def snap(image, video):
return [video]
demo = gr.Interface(
snap,
[gr.Video(sources=["webcam"])],
["video"],
)
if __name__ == "__main__":
demo.launch()