Instructions to use flymy-ai/qwen-image-anime-irl-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use flymy-ai/qwen-image-anime-irl-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("flymy-ai/qwen-image-anime-irl-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
fix code example + add library tag
#1
by linoyts HF Staff - opened
README.md
CHANGED
|
@@ -12,6 +12,7 @@ tags:
|
|
| 12 |
- anime
|
| 13 |
- anime-to-real
|
| 14 |
- style-transfer
|
|
|
|
| 15 |
---
|
| 16 |
## Anime in Real Life LoRA for Qwen-Image
|
| 17 |
|
|
@@ -47,7 +48,7 @@ pipe = pipe.to(device)
|
|
| 47 |
|
| 48 |
```python
|
| 49 |
# Load LoRA weights
|
| 50 |
-
pipe.load_lora_weights('flymy_anime_irl.safetensors', adapter_name="lora")
|
| 51 |
```
|
| 52 |
|
| 53 |
### 🎨 Generate Anime in Real Life Images
|
|
|
|
| 12 |
- anime
|
| 13 |
- anime-to-real
|
| 14 |
- style-transfer
|
| 15 |
+
library_name: diffusers
|
| 16 |
---
|
| 17 |
## Anime in Real Life LoRA for Qwen-Image
|
| 18 |
|
|
|
|
| 48 |
|
| 49 |
```python
|
| 50 |
# Load LoRA weights
|
| 51 |
+
pipe.load_lora_weights("flymy-ai/qwen-image-anime-irl-lora", weight_name='flymy_anime_irl.safetensors', adapter_name="lora")
|
| 52 |
```
|
| 53 |
|
| 54 |
### 🎨 Generate Anime in Real Life Images
|