Instructions to use Ethanxaf/mytestlora4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ethanxaf/mytestlora4 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("Ethanxaf/mytestlora4") prompt = "Cinematic portrait of a woman looking out a window at rain, low angle, dramatic green and warm lighting illuminating her face from below, soft focus background of raindrops on glass, moody and introspective atmosphere, dark hair, black top, nighttime" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add generated example
#5 opened over 1 year ago
by
Ethanxaf