Dzoordan commited on
Commit
5cfcd11
·
verified ·
1 Parent(s): 48fdf5f

Create Lorry

Browse files
Files changed (1) hide show
  1. Lorry +7 -0
Lorry ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from diffusers import Krea2Pipeline
3
+
4
+ pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
5
+ pipe.load_lora_weights("Dzoordan/lorry")
6
+ image = pipe("A futuristic neon-lit cyberpunk city street where a sleek, chrome Lorry floats silently above a rain-slicked asphalt road.", num_inference_steps=8, guidance_scale=0.0).images[0]
7
+ image.save("output.png")