Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
lsb
/
flip-frames
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
247a943
flip-frames
/
app.py
lsb
following the demo
247a943
11 months ago
raw
Copy download link
history
blame
Safe
207 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()