Spaces:
Sleeping
Sleeping
Download utils.py from Nixooooo/OrdenAI: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/spaces/Nixooooo/OrdenAI/resolve/main/utils.py
- Command line
-
hf download hf://spaces/Nixooooo/OrdenAI/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/Nixooooo/OrdenAI/resolve/main/utils.py
152 Bytes
| from PIL import Image | |
| def process_image(image): | |
| # Procesamiento simple como ejemplo: escala de grises | |
| return image.convert("L").convert("RGB") | |