Download main.py from devilops/blended-diffusion-custom: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/devilops/blended-diffusion-custom/resolve/main/main.py
- Command line
-
hf download hf://devilops/blended-diffusion-custom/main.py
-
curl -L -o main.py https://huggingface.co/devilops/blended-diffusion-custom/resolve/main/main.py
271 Bytes
| from optimization.image_editor import ImageEditor | |
| from optimization.arguments import get_arguments | |
| if __name__ == "__main__": | |
| args = get_arguments() | |
| image_editor = ImageEditor(args) | |
| image_editor.edit_image_by_prompt() | |
| # image_editor.reconstruct_image() | |