Instructions to use ChandrilBasu/cm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ChandrilBasu/cm 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/cm") prompt = "close-up photo of <lora:Cillian_Murphy:1.1> man, (((modest outfit))), (((modesty))), (((modest clothes))), (((modest apparel))), (((looking directly at viewer))), ((facing viewer)), (eye contact maintained with viewer), centered, face centered. Detailed, intimate, clear, personal" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from ChandrilBasu/cm: direct link, hf CLI and curl.
- Browser
- Download file 862 Bytes
-
https://huggingface.co/ChandrilBasu/cm/resolve/main/README.md
- Command line
-
hf download hf://ChandrilBasu/cm/README.md
-
curl -L -o README.md https://huggingface.co/ChandrilBasu/cm/resolve/main/README.md
862 Bytes
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: >- | |
| close-up photo of <lora:Cillian_Murphy:1.1> man, (((modest outfit))), | |
| (((modesty))), (((modest clothes))), (((modest apparel))), (((looking | |
| directly at viewer))), ((facing viewer)), (eye contact maintained with | |
| viewer), centered, face centered. Detailed, intimate, clear, personal | |
| parameters: | |
| negative_prompt: wide shot, distant, blurry, impersonal | |
| output: | |
| url: images/close up photo of lora Cillian Murphy 1 1 man-1.jpeg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: man | |
| # Cm | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `man` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/ChandrilBasu/cm/tree/main) them in the Files & versions tab. | |