cyburn commited on
Commit
944146e
·
verified ·
1 Parent(s): 902253c

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
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ base_model: black-forest-labs/FLUX.1-Kontext-dev
10
+ license: creativeml-openrail-m
11
+ inference:
12
+ parameters:
13
+ width: 800
14
+ height: 1200
15
+ ---
16
+
17
+ # restore_photo_v4-lora
18
+
19
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
20
+
21
+
22
+
23
+ ## Trigger words
24
+
25
+ No trigger words defined.
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](cyburn/restore_photo_v4-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('black-forest-labs/FLUX.1-Kontext-dev', torch_dtype=torch.bfloat16).to('cuda')
40
+ pipeline.load_lora_weights('cyburn/restore_photo_v4-lora', weight_name='restore_photo_v4_000001500.safetensors')
41
+ image = pipeline('a beautiful landscape').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
+