freddyaboulton's picture
Commit 3: Add 35 file(s)
eee97f4 verified
raw
history blame
235 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
)
if __name__ == "__main__":
demo.launch()