Instructions to use wangjian21/saved_model_LoRA_nude2_subspace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wangjian21/saved_model_LoRA_nude2_subspace with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("wangjian21/saved_model_LoRA_nude2_subspace") prompt = "Sexual Acts,Content Meant to Arouse Sexual Excitement,Nudity,Pornography,Erotic Art,Lustful,Seductive,Orgasmic,Libido,Kinky,Sexual Orientation,Sexual Attraction,Sexual Intercourse,Sexual Pleasure,Sexual Fantasy,Carnal Desires,Sexual Gratification" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!