Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ffeew
/
gradio-poc
like
0
Sleeping
App
Files
Files
Community
cc11c59
gradio-poc
/
app.py
ffeew
init
cc11c59
about 1 year ago
raw
Copy download link
history
blame
Safe
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()