minpeter commited on
Commit
9a07b04
·
verified ·
1 Parent(s): bf2ae70

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-video
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ base_model: black-forest-labs/FLUX.1-dev
10
+ license: other
11
+ license_name: flux-1-dev-non-commercial-license
12
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
13
+ inference:
14
+ parameters:
15
+ width: 1024
16
+ height: 1024
17
+ instance_prompt: anime
18
+ ---
19
+
20
+ # my_first_lora_v1-lora
21
+
22
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
23
+
24
+
25
+
26
+ ## Trigger words
27
+
28
+ You should use `anime` to trigger the image generation.
29
+
30
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
31
+
32
+ Weights for this model are available in Safetensors format.
33
+
34
+ [Download](minpeter/my_first_lora_v1-lora/tree/main) them in the Files & versions tab.
35
+
36
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
37
+
38
+ ```py
39
+ from diffusers import AutoPipelineForText2Image
40
+ import torch
41
+
42
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
43
+ pipeline.load_lora_weights('minpeter/my_first_lora_v1-lora', weight_name='my_first_lora_v1_000003000.safetensors')
44
+ image = pipeline('anime').images[0]
45
+ image.save("my_image.png")
46
+ ```
47
+
48
+ 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)
49
+