Instructions to use greyDonald/HumanAwareDesignGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use greyDonald/HumanAwareDesignGeneration with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("greyDonald/HumanAwareDesignGeneration", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download licenses/MIT_template_SPDX_reference.txt from greyDonald/HumanAwareDesignGeneration: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/greyDonald/HumanAwareDesignGeneration/resolve/main/licenses/MIT_template_SPDX_reference.txt
- Command line
-
hf download hf://greyDonald/HumanAwareDesignGeneration/licenses/MIT_template_SPDX_reference.txt
-
curl -L -o MIT_template_SPDX_reference.txt https://huggingface.co/greyDonald/HumanAwareDesignGeneration/resolve/main/licenses/MIT_template_SPDX_reference.txt
1.08 kB
| MIT License | |
| Copyright (c) <year> <copyright holders> | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
| associated documentation files (the "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the | |
| following conditions: | |
| The above copyright notice and this permission notice shall be included in all copies or substantial | |
| portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT | |
| LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO | |
| EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | |
| IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | |
| USE OR OTHER DEALINGS IN THE SOFTWARE. | |