Spaces:
Paused
Paused
Download basic.py from veltrixcode/helper-bpt: direct link, hf CLI and curl.
- Browser
- Download file 126 Bytes
-
https://huggingface.co/spaces/veltrixcode/helper-bpt/resolve/ea276b972c78ffe98acc0f7c4939a86ec79cedbe/basic.py
- Command line
-
hf download hf://spaces/veltrixcode/helper-bpt@ea276b972c78ffe98acc0f7c4939a86ec79cedbe/basic.py
-
curl -L -o basic.py https://huggingface.co/spaces/veltrixcode/helper-bpt/resolve/ea276b972c78ffe98acc0f7c4939a86ec79cedbe/basic.py
126 Bytes
| from rembg import remove | |
| from PIL import Image | |
| input = Image.open('dog.png') | |
| output = remove(input) | |
| output.save('out.png') |