Instructions to use starsfriday/Qwen-Image-Liuyifei-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use starsfriday/Qwen-Image-Liuyifei-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("starsfriday/Qwen-Image-Liuyifei-LoRA") prompt = "yfyf, 广角镜头拍摄,一只手伸出去,拉着一个女人的手,女人穿着粉色的汉服,正面对镜头,戴着精美的中式头饰,背景是维多利亚港,晚上灯光夜景,一片繁华,另一只手上拿着牌子“QWEN新王当立 FLUX已死”" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -67,7 +67,7 @@ widget:
|
|
| 67 |
|
| 68 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 69 |
|
| 70 |
-
This is a model for Qwen-Image in Portrait generation, trained on ```Qwen/Qwen-Image```, and is suitable for Used to generate various photos of Liu Yifei.For use in through the following code.
|
| 71 |
|
| 72 |
### Direct Use
|
| 73 |
|
|
|
|
| 67 |
|
| 68 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 69 |
|
| 70 |
+
This is a model for Qwen-Image in Portrait generation, trained on ```Qwen/Qwen-Image```, and is suitable for Used to generate various photos of Liu Yifei.For use in through the following code and ```ComfyUI```.
|
| 71 |
|
| 72 |
### Direct Use
|
| 73 |
|