Views
No views yet
pytorch_lora_weights.safetensors (SHA256: ecb8764665a32b2f089230f5ea24d90e7bc3acc20a2f595ebe65acf535891a34)1import torch
2from diffusers import Flux2Pipeline
3
4pipe = Flux2Pipeline.from_pretrained("black-forest-labs/FLUX.2-dev", torch_dtype=torch.bfloat16).to("cuda")
5pipe.load_lora_weights("danildushenev/magneticTileCrack2", weight_name="pytorch_lora_weights.safetensors")
6image = pipe("your prompt", num_inference_steps=24, guidance_scale=2.5).images[0]
7image.save("result.png")pytorch_lora_weights.safetensors from this repo.ComfyUI/models/loras/.a photo of Magnetic Tile crack