Update README.md
Browse files
README.md
CHANGED
|
@@ -1,56 +1,39 @@
|
|
| 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 |
-
- sdxl
|
| 10 |
- lora
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
model-index:
|
| 15 |
-
- name: Mythic SDXL (LoRA Merged)
|
| 16 |
-
results:
|
| 17 |
-
- task:
|
| 18 |
-
type: text-to-image
|
| 19 |
-
name: Text-to-Image Generation
|
| 20 |
-
dataset:
|
| 21 |
-
name: internal-eval
|
| 22 |
-
type: subjective-evaluation
|
| 23 |
-
metrics:
|
| 24 |
-
- type: visual-quality
|
| 25 |
-
value: "Passed visual inspection"
|
| 26 |
-
name: Visual Quality (Subjective)
|
| 27 |
---
|
| 28 |
|
| 29 |
-
#
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
| Merge Style | `pipe.load_lora_weights()` + `pipe.fuse_lora()`
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
| 42 |
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
## π Quick Start β Hugging Face Inference API
|
| 46 |
|
| 47 |
```python
|
| 48 |
from huggingface_hub import InferenceClient
|
| 49 |
|
| 50 |
client = InferenceClient("CoolKrishh/mythic-sdxl")
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
"mythic artwork, cinematic lighting, ultra detailed, 8k"
|
| 54 |
-
)
|
| 55 |
-
|
| 56 |
-
image.save("output.png")
|
|
|
|
| 1 |
---
|
| 2 |
+
license: openrail++
|
| 3 |
library_name: diffusers
|
| 4 |
pipeline_tag: text-to-image
|
| 5 |
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
- stable-diffusion-xl
|
| 8 |
+
- sdxl
|
| 9 |
- diffusers
|
| 10 |
- text-to-image
|
| 11 |
- image-generation
|
|
|
|
| 12 |
- lora
|
| 13 |
+
inference: true
|
| 14 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Mythic SDXL (LoRA Merged) β Inference Ready
|
| 18 |
|
| 19 |
+
This model is a **Stable Diffusion XL 1.0 pipeline merged with a custom LoRA**, exported in full Diffusers format and ready for Hugging Face **Inference API**.
|
| 20 |
|
| 21 |
+
## β
Supports
|
| 22 |
+
- Hugging Face **Text-to-Image Inference API**
|
| 23 |
+
- `InferenceClient.text_to_image`
|
| 24 |
+
- Diffusers `StableDiffusionXLPipeline`
|
|
|
|
| 25 |
|
| 26 |
+
## 𧬠Model details
|
| 27 |
+
- **Base model:** SDXL 1.0
|
| 28 |
+
- **Finetune method:** LoRA (merged into UNet + Text Encoders)
|
| 29 |
+
- **Format:** Full Diffusers pipeline (not standalone safetensors)
|
| 30 |
+
- **Precision:** FP16
|
| 31 |
|
| 32 |
+
## π Quick Inference
|
|
|
|
|
|
|
| 33 |
|
| 34 |
```python
|
| 35 |
from huggingface_hub import InferenceClient
|
| 36 |
|
| 37 |
client = InferenceClient("CoolKrishh/mythic-sdxl")
|
| 38 |
+
img = client.text_to_image("dark comic hero with red lightning")
|
| 39 |
+
img.save("output.png")
|
|
|
|
|
|
|
|
|
|
|
|