Instructions to use Shinhati2023/Real_bitch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shinhati2023/Real_bitch with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shinhati2023/Real_bitch") prompt = "A beautiful baddie wearing fishnet crop top, short skirt, stockings, style woman, UHD, 4k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Invalid JSON:Unexpected token 'e', "fetch(
"h"... is not valid JSON
| fetch( | |
| "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl, | |
| { | |
| method: "POST", | |
| headers: { | |
| "content-type": "application/json", | |
| }, | |
| body: JSON.stringify({ | |
| inputs: | |
| "award winning high resolution photo of a giant tortoise/((ladybird)) hybrid, [trending on artstation]", | |
| negative_prompt: "blurry,ugly hands, ugly legs, ugly fingers, malformed hands, low resolution image" | |
| }), | |
| } | |
| ) | |
| .then((res) => res.blob()) | |
| .then((blob) => { | |
| const tab = window.open((target = "_blank")); | |
| tab.location.href = window.URL.createObjectURL(blob); | |
| }); |