Instructions to use leonel4rd/Anything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use leonel4rd/Anything with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Jiali/stable-diffusion-1.5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("leonel4rd/Anything") prompt = "UNICODE\u0000\u00001\u0000g\u0000i\u0000r\u0000l\u0000,\u0000 \u0000b\u0000a\u0000n\u0000g\u0000s\u0000,\u0000 \u0000b\u0000l\u0000u\u0000e\u0000_\u0000e\u0000y\u0000e\u0000s\u0000,\u0000 \u0000b\u0000l\u0000u\u0000e\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000c\u0000l\u0000o\u0000s\u0000e\u0000d\u0000_\u0000m\u0000o\u0000u\u0000t\u0000h\u0000,\u0000 \u0000e\u0000l\u0000e\u0000c\u0000t\u0000r\u0000i\u0000c\u0000i\u0000t\u0000y\u0000,\u0000 \u0000e\u0000y\u0000e\u0000b\u0000r\u0000o\u0000w\u0000s\u0000_\u0000v\u0000i\u0000s\u0000i\u0000b\u0000l\u0000e\u0000_\u0000t\u0000h\u0000r\u0000o\u0000u\u0000g\u0000h\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000h\u0000a\u0000i\u0000r\u0000_\u0000b\u0000e\u0000t\u0000w\u0000e\u0000e\u0000n\u0000_\u0000e\u0000y\u0000e\u0000s\u0000,\u0000 \u0000h\u0000a\u0000t\u0000s\u0000u\u0000n\u0000e\u0000_\u0000m\u0000i\u0000k\u0000u\u0000,\u0000 \u0000l\u0000o\u0000n\u0000g\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000l\u0000o\u0000o\u0000k\u0000i\u0000n\u0000g\u0000_\u0000a\u0000t\u0000_\u0000v\u0000i\u0000e\u0000w\u0000e\u0000r\u0000,\u0000 \u0000m\u0000a\u0000g\u0000i\u0000c\u0000,\u0000 \u0000s\u0000m\u0000i\u0000l\u0000e\u0000,\u0000 \u0000s\u0000o\u0000l\u0000o\u0000" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: "UNICODE\0\01\0g\0i\0r\0l\0,\0 \0b\0a\0n\0g\0s\0,\0 \0b\0l\0u\0e\0_\0e\0y\0e\0s\0,\0 \0b\0l\0u\0e\0_\0h\0a\0i\0r\0,\0 \0c\0l\0o\0s\0e\0d\0_\0m\0o\0u\0t\0h\0,\0 \0e\0l\0e\0c\0t\0r\0i\0c\0i\0t\0y\0,\0 \0e\0y\0e\0b\0r\0o\0w\0s\0_\0v\0i\0s\0i\0b\0l\0e\0_\0t\0h\0r\0o\0u\0g\0h\0_\0h\0a\0i\0r\0,\0 \0h\0a\0i\0r\0_\0b\0e\0t\0w\0e\0e\0n\0_\0e\0y\0e\0s\0,\0 \0h\0a\0t\0s\0u\0n\0e\0_\0m\0i\0k\0u\0,\0 \0l\0o\0n\0g\0_\0h\0a\0i\0r\0,\0 \0l\0o\0o\0k\0i\0n\0g\0_\0a\0t\0_\0v\0i\0e\0w\0e\0r\0,\0 \0m\0a\0g\0i\0c\0,\0 \0s\0m\0i\0l\0e\0,\0 \0s\0o\0l\0o\0" | |
| parameters: | |
| negative_prompt: >- | |
| ugly,duplicate,fused fingers,extra fingers,too many fingers,long | |
| neck,deformed,mutation,disfigured,text,calm,roughness,Matte texture,The | |
| graphics crash,cranny,extra limbs,extra legs,Wrong lighting,More than six | |
| fingers,Low resolution,Simple background,Wrong human proportions,Serious | |
| expression,Low-quality images,Banal effect,Low object accuracy, | |
| output: | |
| url: images/355572.jpeg | |
| base_model: Jiali/stable-diffusion-1.5 | |
| instance_prompt: girl, background | |
| # Anything | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `girl` to trigger the image generation. | |
| You should use `background` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/leonel4rd/Anything/tree/main) them in the Files & versions tab. | |