Instructions to use strangerzonehf/Blaze.1-Portrait-Revised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use strangerzonehf/Blaze.1-Portrait-Revised with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("prithivMLmods/Flux.1-Merged", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("strangerzonehf/Blaze.1-Portrait-Revised") prompt = "b1 portrait, Captured at eye-level, a close-up shot captures a young man with curly black hair, wearing a red and navy blue jacket with a white stripe down the front. His jacket is adorned with a black collar and a white logo with a blue letter \"F\" in the center. Behind him, a young woman in a navy blue and red tank top, also wearing a white hat, is seated on the beach. The background is a sandy beach, with a clear blue sky dotted with white fluffy clouds." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!