lampongyuen's picture
Create app.py
dab2b10
raw
history blame contribute delete
210 Bytes
import gradio as gr
import numpy as np
def flip(im):
return np.flipud(im)
demo = gr.Interface(
flip,
gr.Image(sources=["webcam"], streaming=True),
"image",
live=True
)
demo.launch()