gra / run.py
noamholz's picture
fix?
816c1e3
raw
history blame
225 Bytes
import gradio as gr
def snap(image, video):
return [image, video]
demo = gr.Interface(
snap,
[gr.Image(sources=['webcam'])],
["image", "video"],
)
if __name__ == "__main__":
demo.launch(share=False)