Instructions to use ChandrilBasu/FM1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ChandrilBasu/FM1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ChandrilBasu/FM1") prompt = "UNICODE\u0000\u0000s\u0000i\u0000m\u0000i\u0000l\u0000a\u0000r\u0000 \u0000t\u0000o\u0000 \u0000M\u0000a\u0000r\u0000i\u0000o\u0000'\u0000s\u0000 \u0000i\u0000c\u0000o\u0000n\u0000i\u0000c\u0000 \u0000h\u0000a\u0000t\u0000.\u0000 \u0000H\u0000i\u0000s\u0000 \u0000a\u0000t\u0000t\u0000i\u0000r\u0000e\u0000 \u0000i\u0000n\u0000c\u0000l\u0000u\u0000d\u0000e\u0000s\u0000 \u0000a\u0000 \u0000b\u0000r\u0000i\u0000g\u0000h\u0000t\u0000 \u0000r\u0000e\u0000d\u0000 \u0000t\u0000-\u0000s\u0000h\u0000i\u0000r\u0000t\u0000 \u0000a\u0000n\u0000d\u0000 \u0000d\u0000e\u0000n\u0000i\u0000m\u0000 \u0000o\u0000v\u0000e\u0000r\u0000a\u0000l\u0000l\u0000s\u0000,\u0000 \u0000b\u0000l\u0000a\u0000c\u0000k\u0000 \u0000a\u0000t\u0000h\u0000l\u0000e\u0000t\u0000i\u0000c\u0000 \u0000s\u0000h\u0000o\u0000r\u0000t\u0000s\u0000,\u0000 \u0000c\u0000u\u0000r\u0000l\u0000y\u0000 \u0000h\u0000a\u0000i\u0000r\u0000.\u0000 \u0000H\u0000e\u0000 \u0000i\u0000s\u0000 \u0000w\u0000e\u0000a\u0000r\u0000i\u0000n\u0000g\u0000 \u0000a\u0000 \u0000l\u0000i\u0000g\u0000h\u0000t\u0000 \u0000g\u0000r\u0000a\u0000y\u0000,\u0000 \u0000e\u0000x\u0000p\u0000o\u0000s\u0000i\u0000n\u0000g\u0000 \u0000a\u0000 \u0000v\u0000i\u0000s\u0000i\u0000b\u0000l\u0000e\u0000,\u0000 \u0000d\u0000a\u0000r\u0000k\u0000 \u0000b\u0000r\u0000o\u0000w\u0000n\u0000 \u0000h\u0000a\u0000i\u0000r\u0000 \u0000s\u0000t\u0000y\u0000l\u0000e\u0000d\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000a\u0000 \u0000s\u0000l\u0000i\u0000g\u0000h\u0000t\u0000 \u0000w\u0000a\u0000v\u0000e\u0000.\u0000 \u0000H\u0000e\u0000 \u0000h\u0000a\u0000s\u0000 \u0000a\u0000 \u0000n\u0000e\u0000a\u0000t\u0000l\u0000y\u0000 \u0000t\u0000r\u0000i\u0000m\u0000m\u0000e\u0000d\u0000 \u0000b\u0000e\u0000a\u0000r\u0000d\u0000 \u0000a\u0000n\u0000d\u0000 \u0000m\u0000u\u0000s\u0000t\u0000a\u0000c\u0000h\u0000e\u0000,\u0000 \u0000i\u0000n\u0000d\u0000i\u0000c\u0000a\u0000t\u0000i\u0000n\u0000g\u0000 \u0000h\u0000e\u0000 \u0000i\u0000s\u0000 \u0000l\u0000i\u0000k\u0000e\u0000l\u0000y\u0000 \u0000a\u0000 \u0000t\u0000r\u0000a\u0000n\u0000s\u0000 \u0000m\u0000a\u0000n\u0000.\u0000 \u0000H\u0000e\u0000 \u0000i\u0000s\u0000 \u0000w\u0000e\u0000a\u0000r\u0000i\u0000n\u0000g\u0000 \u0000a\u0000 \u0000g\u0000r\u0000e\u0000y\u0000 \u0000a\u0000n\u0000d\u0000 \u0000w\u0000h\u0000i\u0000t\u0000e\u0000 \u0000k\u0000i\u0000m\u0000o\u0000n\u0000o\u0000-\u0000s\u0000t\u0000y\u0000l\u0000e\u0000 \u0000r\u0000o\u0000b\u0000e\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000a\u0000 \u0000g\u0000r\u0000e\u0000e\u0000n\u0000 \u0000b\u0000e\u0000l\u0000t\u0000 \u0000t\u0000i\u0000e\u0000d\u0000 \u0000a\u0000r\u0000o\u0000u\u0000n\u0000d\u0000 \u0000h\u0000i\u0000s\u0000 \u0000w\u0000a\u0000i\u0000s\u0000t\u0000,\u0000 \u0000d\u0000e\u0000c\u0000o\u0000r\u0000a\u0000t\u0000i\u0000v\u0000e\u0000 \u0000p\u0000e\u0000n\u0000d\u0000a\u0000n\u0000t\u0000 \u0000t\u0000h\u0000a\u0000t\u0000 \u0000r\u0000e\u0000s\u0000e\u0000m\u0000b\u0000l\u0000e\u0000s\u0000 \u0000a\u0000 \u0000b\u0000o\u0000n\u0000e\u0000 \u0000o\u0000r\u0000 \u0000a\u0000 \u0000d\u0000e\u0000c\u0000o\u0000r\u0000a\u0000t\u0000i\u0000v\u0000e\u0000 \u0000p\u0000i\u0000e\u0000c\u0000e\u0000.\u0000" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from ChandrilBasu/FM1: direct link, hf CLI and curl.
- Browser
- Download file 1.85 kB
-
https://huggingface.co/ChandrilBasu/FM1/resolve/main/README.md
- Command line
-
hf download hf://ChandrilBasu/FM1/README.md
-
curl -L -o README.md https://huggingface.co/ChandrilBasu/FM1/resolve/main/README.md
1.85 kB
metadata
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: "UNICODE\0\0s\0i\0m\0i\0l\0a\0r\0 \0t\0o\0 \0M\0a\0r\0i\0o\0'\0s\0 \0i\0c\0o\0n\0i\0c\0 \0h\0a\0t\0.\0 \0H\0i\0s\0 \0a\0t\0t\0i\0r\0e\0 \0i\0n\0c\0l\0u\0d\0e\0s\0 \0a\0 \0b\0r\0i\0g\0h\0t\0 \0r\0e\0d\0 \0t\0-\0s\0h\0i\0r\0t\0 \0a\0n\0d\0 \0d\0e\0n\0i\0m\0 \0o\0v\0e\0r\0a\0l\0l\0s\0,\0 \0b\0l\0a\0c\0k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0o\0r\0a\0t\0i\0v\0e\0 \0p\0i\0e\0c\0e\0.\0"
output:
url: images/Coal_diamond_e000005_02_20241124101100.jpeg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Man
FM1

- Prompt
- UNICODEsimilar to Mario's iconic hat. His attire includes a bright red t-shirt and denim overalls, black athletic shorts, curly hair. He is wearing a light gray, exposing a visible, dark brown hair styled with a slight wave. He has a neatly trimmed beard and mustache, indicating he is likely a trans man. He is wearing a grey and white kimono-style robe with a green belt tied around his waist, decorative pendant that resembles a bone or a decorative piece.
Trigger words
You should use Man to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.