Text-to-Image
Diffusers
flux
lora
template:sd-lora
multimodalart HF staff commited on
Commit
32c2f23
1 Parent(s): 3773668

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -1
README.md CHANGED
@@ -47,7 +47,7 @@ inference:
47
  width: 768
48
  height: 1024
49
  ---
50
- # FLUX Tarot
51
 
52
  <Gallery />
53
 
@@ -66,3 +66,14 @@ You should use `in the style of TOK a trtcrd tarot style` to trigger the image g
66
  Weights for this model are available in Safetensors format.
67
 
68
  [Download](/multimodalart/flux-tarot-v1/tree/main) them in the Files & versions tab.
 
 
 
 
 
 
 
 
 
 
 
 
47
  width: 768
48
  height: 1024
49
  ---
50
+ # FLUX Tarot v1
51
 
52
  <Gallery />
53
 
 
66
  Weights for this model are available in Safetensors format.
67
 
68
  [Download](/multimodalart/flux-tarot-v1/tree/main) them in the Files & versions tab.
69
+
70
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
71
+
72
+ ```py
73
+ from diffusers import AutoPipelineForText2Image
74
+ import torch
75
+
76
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
77
+ pipeline.load_lora_weights('multimodalart/flux-tarot-v1', weight_name='flux_tarot_v1_lora.safetensors')
78
+ image = pipeline('in the style of TOK a trtcrd tarot style').images[0]
79
+ ```