Instructions to use quasar529/ft-sd15-portrait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use quasar529/ft-sd15-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("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("quasar529/ft-sd15-portrait") prompt = "a high-quality portrait photo of a person,The person is facing forward and the main focus of the image. The background is blurred or out of focus to draw attention to the person. The image is high resolution and have natural-looking lighting and shadows. The person's features are recognizable and the image conveys a sense of emotion or personality." 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!