Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
afiz
/
flip-image
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
e812cdc
flip-image
/
app.py
afiz
added app file
e812cdc
over 2 years ago
raw
Copy download link
history
blame
Safe
159 Bytes
import
numpy
as
np
def
flip_image
(
x
):
return
np.fliplr(x)
import
gradio
as
gr
gr.Interface(fn=flip_image, inputs=
"image"
, outputs=
"image"
).launch();