Spaces:
Sleeping
Sleeping
# https://www.gradio.app/guides/reactive-interfaces | |
import gradio as gr | |
import numpy as np | |
def process_img(im): | |
return im | |
demo = gr.Interface( | |
process_img, | |
gr.Image(sources=["webcam"], streaming=True), | |
"image", | |
live=True | |
) | |
demo.launch() | |