charlesjz commited on
Commit
9ec2931
·
verified ·
1 Parent(s): 1d5ea7e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - lora
5
+ - diffusers
6
+ - template:sd-lora
7
+ - ai-toolkit
8
+ base_model: Qwen/Qwen-Image
9
+ license: creativeml-openrail-m
10
+ inference:
11
+ parameters:
12
+ width: 1024
13
+ height: 1024
14
+ instance_prompt: RTWAnna
15
+ ---
16
+
17
+ # RTWAnna_rank32-lora
18
+
19
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
20
+
21
+
22
+
23
+ ## Trigger words
24
+
25
+ You should use `RTWAnna` to trigger the image generation.
26
+
27
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
28
+
29
+ Weights for this model are available in Safetensors format.
30
+
31
+ [Download](charlesjz/RTWAnna_rank32-lora/tree/main) them in the Files & versions tab.
32
+
33
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
34
+
35
+ ```py
36
+ from diffusers import AutoPipelineForText2Image
37
+ import torch
38
+
39
+ pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image', torch_dtype=torch.bfloat16).to('cuda')
40
+ pipeline.load_lora_weights('charlesjz/RTWAnna_rank32-lora', weight_name='RTWAnna_rank32_000001250.safetensors')
41
+ image = pipeline('RTWAnna').images[0]
42
+ image.save("my_image.png")
43
+ ```
44
+
45
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
46
+