Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Vanyadoing
/
dav2
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9fb2e7a
dav2
/
app.py
Vanyadoing
Update app.py
9fb2e7a
verified
about 1 month ago
raw
Copy download link
history
blame
Safe
158 Bytes
import
gradio
as
gr
def
invert
(
img
):
return
255
- img
iface = gr.Interface(fn=invert, inputs=gr.Image(
type
=
"numpy"
), outputs=gr.Image())
iface.launch()