Xena18284 commited on
Commit
67346d6
·
verified ·
1 Parent(s): 0927035

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -10
README.md CHANGED
@@ -39,22 +39,17 @@ Weights for this model are available in Safetensors format.
39
 
40
  ## How to Use
41
 
42
- ### Using Diffusers (Python Library)
43
-
44
- To use this model and load the **Midjourney FLUX LoRA**, follow these steps:
45
-
46
- ```python
47
  from diffusers import StableDiffusionPipeline
48
  from safetensors.torch import load_file
49
 
50
  # Load the base pipeline
51
- pipe = StableDiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
52
 
53
- # Load multiple LoRA weights
54
- pipe.load_lora_weights("aidmaMJ61-FLUX-v05.safetensors")
55
- pipe.load_lora_weights("racing car style v1.safetensors"))
56
 
57
  # Generate an image
58
- prompt = "a futuristic neon-lit city with cars flying in the background"
59
  image = pipe(prompt).images[0]
60
  image.save("output.png")
 
39
 
40
  ## How to Use
41
 
 
 
 
 
 
42
  from diffusers import StableDiffusionPipeline
43
  from safetensors.torch import load_file
44
 
45
  # Load the base pipeline
46
+ pipe = StableDiffusionPipeline.from_pretrained("Xena18284/Xena")
47
 
48
+ # Load both LoRA weights
49
+ pipe.load_lora_weights("aidmaMJ61-FLUX-v05.safetensors") # Midjourney to Flux
50
+ pipe.load_lora_weights("racing_car_style_v1.safetensors") # Racing Car Style
51
 
52
  # Generate an image
53
+ prompt = "A futuristic racing car on a neon-lit street, ultra-detailed, cyberpunk"
54
  image = pipe(prompt).images[0]
55
  image.save("output.png")