Instructions to use oraul/finetuned_bratpit_comps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use oraul/finetuned_bratpit_comps with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("oraul/finetuned_bratpit_comps", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Image Generation Function
#2
by oraul - opened
from diffusers import StableDiffusionPipeline
import torch
model = "oraul/Stability_CelebsHAQ_v1"
pipeline = StableDiffusionPipeline.from_pretrained(model_ckpt_tuned, torch_dtype=torch.float16).to("cuda")
prompt = "a yougster boy batch2_proj_11 image" # here, batch2_proj_11 is the placeholder that identifies unique style in the model. please add it into the angel brackets
image = pipeline(prompt_tuned).images[0]