Instructions to use andreisas/andrei-portrait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use andreisas/andrei-portrait with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("undefined", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("andreisas/andrei-portrait") prompt = "ANDREIPORTRAIT" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from andreisas/andrei-portrait: direct link, hf CLI and curl.
- Browser
- Download file 593 Bytes
-
https://huggingface.co/andreisas/andrei-portrait/resolve/main/README.md
- Command line
-
hf download hf://andreisas/andrei-portrait/README.md
-
curl -L -o README.md https://huggingface.co/andreisas/andrei-portrait/resolve/main/README.md
593 Bytes
metadata
tags:
- flux
- text-to-image
- lora
- diffusers
- fal
base_model: undefined
instance_prompt: ANDREIPORTRAIT
license: other
andrei portrait
Model description
Trigger words
You should use ANDREIPORTRAIT to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Training at fal.ai
Training was done using fal.ai/models/fal-ai/flux-lora-portrait-trainer.