Instructions to use Mujeeb603/SD3-medium-Geometry-Diagrams-Lora-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mujeeb603/SD3-medium-Geometry-Diagrams-Lora-1 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-3-medium", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Mujeeb603/SD3-medium-Geometry-Diagrams-Lora-1") prompt = "right-angle triangle, technical geometric sketch, base is '5 cm', hypotenuse measures '8 cm', right angle positioned at lower left, labeled sides with clear lines, white backdrop" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K