gradio-poc / app.py
ffeew's picture
init
cc11c59
raw
history blame
185 Bytes
import gradio as gr
import numpy as np
def flip(im):
return np.flipud(im)
demo = gr.Interface(flip, gr.Image(source="webcam", streaming=True), "image", live=True)
demo.launch()