Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,31 @@
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
|
|
|
| 3 |
tags:
|
| 4 |
- stable-diffusion-xl
|
|
|
|
| 5 |
- text-to-image
|
| 6 |
- image-generation
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# Mythic SDXL
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
```python
|
| 16 |
from diffusers import StableDiffusionXLPipeline
|
| 17 |
import torch
|
| 18 |
|
| 19 |
-
pipe = StableDiffusionXLPipeline.from_pretrained(
|
| 20 |
-
|
| 21 |
-
torch_dtype=torch.float16
|
| 22 |
-
).to("cuda")
|
| 23 |
-
|
| 24 |
-
image = pipe("mythic artwork, cinematic, ultra detailed").images[0]
|
| 25 |
image.save("output.png")
|
|
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
+
pipeline_tag: text-to-image
|
| 4 |
tags:
|
| 5 |
- stable-diffusion-xl
|
| 6 |
+
- diffusers
|
| 7 |
- text-to-image
|
| 8 |
- image-generation
|
| 9 |
+
inference:
|
| 10 |
+
parameters:
|
| 11 |
+
num_inference_steps: 30
|
| 12 |
+
model-index:
|
| 13 |
+
- name: Mythic SDXL (Merged)
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Text-to-Image
|
| 17 |
+
type: text-to-image
|
| 18 |
+
metrics: []
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# Mythic SDXL — LoRA merged
|
| 22 |
|
| 23 |
+
Merged Stable Diffusion XL 1.0 base with a LoRA (fused). Load using Diffusers:
|
| 24 |
|
| 25 |
```python
|
| 26 |
from diffusers import StableDiffusionXLPipeline
|
| 27 |
import torch
|
| 28 |
|
| 29 |
+
pipe = StableDiffusionXLPipeline.from_pretrained("CoolKrishh/mythic-sdxl", torch_dtype=torch.float16).to("cuda")
|
| 30 |
+
image = pipe("mythic comic hero, cinematic").images[0]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
image.save("output.png")
|