Spaces:
Sleeping
Sleeping
import gradio as gr | |
def snap(image, video): | |
return [video] | |
demo = gr.Interface( | |
snap, | |
[gr.Video(sources=["webcam"])], | |
["video"], | |
) | |
if __name__ == "__main__": | |
demo.launch() |