Instructions to use amanfor18/Milk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use amanfor18/Milk 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("amanfor18/Milk") prompt = "Milk " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from amanfor18/Milk: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/amanfor18/Milk/resolve/main/README.md
- Command line
-
hf download hf://amanfor18/Milk/README.md
-
curl -L -o README.md https://huggingface.co/amanfor18/Milk/resolve/main/README.md
492 Bytes
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: 'Milk ' | |
| output: | |
| url: images/Glass-and-bottle-of-milk-fe0997a.jpg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: milk | |
| license: unknown | |
| # Milk | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `milk` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/amanfor18/Milk/tree/main) them in the Files & versions tab. | |