Update README.md
Browse files
README.md
CHANGED
@@ -5,21 +5,47 @@ tags:
|
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
widget:
|
8 |
-
- text: '-'
|
9 |
output:
|
10 |
url: images/9982c7dd-f736-4960-9244-8e89567101a8.jpg
|
11 |
base_model: strangerzonehf/Flux-Midjourney-Mix2-LoRA
|
12 |
instance_prompt: null
|
13 |
-
|
14 |
---
|
|
|
15 |
# Xena
|
16 |
|
17 |
<Gallery />
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
|
|
|
|
|
|
20 |
|
21 |
-
|
|
|
22 |
|
23 |
-
|
|
|
|
|
24 |
|
25 |
-
|
|
|
|
|
|
|
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
widget:
|
8 |
+
- text: 'A futuristic racing car on a neon-lit street at night'
|
9 |
output:
|
10 |
url: images/9982c7dd-f736-4960-9244-8e89567101a8.jpg
|
11 |
base_model: strangerzonehf/Flux-Midjourney-Mix2-LoRA
|
12 |
instance_prompt: null
|
|
|
13 |
---
|
14 |
+
|
15 |
# Xena
|
16 |
|
17 |
<Gallery />
|
18 |
|
19 |
+
## About the Model
|
20 |
+
|
21 |
+
Xena is a LoRA model fine-tuned for creating stunning, futuristic racing car imagery. It is based on the Flux-Midjourney-Mix2-LoRA and is optimized for use with car-themed prompts, delivering highly detailed and vibrant results.
|
22 |
+
|
23 |
+
---
|
24 |
+
|
25 |
+
## Download the Model
|
26 |
+
|
27 |
+
Weights for this model are available in Safetensors format. You can download them from the **[Files & Versions tab](https://huggingface.co/Xena18284/Xena/tree/main)**.
|
28 |
+
|
29 |
+
---
|
30 |
+
|
31 |
+
## How to Use
|
32 |
+
|
33 |
+
### Using Diffusers (Python Library)
|
34 |
+
|
35 |
+
Here's how you can use the model with the `diffusers` library:
|
36 |
|
37 |
+
```python
|
38 |
+
from diffusers import StableDiffusionPipeline
|
39 |
+
from safetensors.torch import load_file
|
40 |
|
41 |
+
# Load the base pipeline
|
42 |
+
pipe = StableDiffusionPipeline.from_pretrained("strangerzonehf/Flux-Midjourney-Mix2-LoRA")
|
43 |
|
44 |
+
# Load the LoRA weights
|
45 |
+
lora_weights = load_file("racing_car_style_v1.safetensors")
|
46 |
+
pipe.load_lora_weights(lora_weights)
|
47 |
|
48 |
+
# Generate an image
|
49 |
+
prompt = "A futuristic racing car on a neon-lit street at night"
|
50 |
+
image = pipe(prompt).images[0]
|
51 |
+
image.save("racing_car_output.png")
|