Instructions to use brushpenbob/spawn-2024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use brushpenbob/spawn-2024 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("brushpenbob/spawn-2024") prompt = " " image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from brushpenbob/spawn-2024: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/brushpenbob/spawn-2024/resolve/main/README.md
- Command line
-
hf download hf://brushpenbob/spawn-2024/README.md
-
curl -L -o README.md https://huggingface.co/brushpenbob/spawn-2024/resolve/main/README.md
1.86 kB
| license: other | |
| license_name: bespoke-lora-trained-license | |
| license_link: https://multimodal.art/civitai-licenses?allowNoCredit=False&allowCommercialUse=RentCivit&allowDerivatives=False&allowDifferentLicense=True | |
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - migrated | |
| - style | |
| - spawn | |
| - spawn_style | |
| base_model: runwayml/stable-diffusion-v1-5 | |
| instance_prompt: spawn_style | |
| widget: | |
| - text: ' ' | |
| output: | |
| url: >- | |
| 9319794.jpeg | |
| - text: ' ' | |
| output: | |
| url: >- | |
| 9324081.jpeg | |
| # Spawn_2024 | |
| <Gallery /> | |
| ## Model description | |
| <p>Inspired by the comic book character spawn by Todd McFarlane.</p><p></p><div data-youtube-video><iframe width="640" height="480" allowfullscreen="true" autoplay="false" disablekbcontrols="false" enableiframeapi="false" endtime="0" ivloadpolicy="0" loop="false" modestbranding="false" origin playlist src="https://www.youtube.com/embed/QynE0UGQhRs" start="0"></iframe></div> | |
| ## Trigger words | |
| You should use `spawn_style`, `spawn` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/brushpenbob/spawn-2024/tree/main) them in the Files & versions tab. | |
| ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) | |
| ```py | |
| from diffusers import AutoPipelineForText2Image | |
| import torch | |
| pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda') | |
| pipeline.load_lora_weights('brushpenbob/spawn-2024', weight_name='Spawn 10epoc_trained.safetensors') | |
| image = pipeline('`spawn_style`, `spawn`').images[0] | |
| ``` | |
| For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) | |