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 lora loading code
Browse files
README.md
CHANGED
|
@@ -48,7 +48,7 @@ pipe = pipe.to(device)
|
|
| 48 |
|
| 49 |
```python
|
| 50 |
# Load LoRA weights
|
| 51 |
-
pipe.load_lora_weights('flymy_anime_irl.safetensors', adapter_name="lora")
|
| 52 |
```
|
| 53 |
|
| 54 |
### 🎨 Generate Anime in Real Life Images
|
|
|
|
| 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
|