wanghaofan commited on
Commit
0c551bd
1 Parent(s): 7b3b8cd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -4
README.md CHANGED
@@ -4,7 +4,9 @@ tags:
4
  - stable-diffusion
5
  - lora
6
  - diffusers
7
- - template:sd-lora
 
 
8
  widget:
9
  - text: >-
10
  A purple lovely plush monster, sitting on the top of a high building in New
@@ -31,12 +33,36 @@ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICE
31
  ---
32
  # FLUX.1-dev-LoRA-live-3D
33
 
 
 
 
34
  <Gallery />
35
 
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
- ## Download model
39
 
40
- Weights for this model are available in Safetensors format.
41
 
42
- [Download](/Shakker-Labs/FLUX.1-dev-LoRA-live-3D/tree/main) them in the Files & versions tab.
 
 
4
  - stable-diffusion
5
  - lora
6
  - diffusers
7
+ - image-generation
8
+ - flux
9
+ - safetensors
10
  widget:
11
  - text: >-
12
  A purple lovely plush monster, sitting on the top of a high building in New
 
33
  ---
34
  # FLUX.1-dev-LoRA-live-3D
35
 
36
+ This is a LoRA (Live 3D) trained on FLUX.1-dev for 3D elements.
37
+
38
+ ## Showcases
39
  <Gallery />
40
 
41
 
42
+ ## Inference
43
+
44
+ ```python
45
+ import torch
46
+ from diffusers import FluxPipeline
47
+
48
+ pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
49
+ pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-live-3D", weight_name="FLUX-dev-lora-live_3D.safetensors")
50
+ pipe.fuse_lora(lora_scale=1.1)
51
+ pipe.to("cuda")
52
+
53
+ prompt = "A colorful cartoon monkey sits on a bus as it rolls down the street in Times Square, New York"
54
+
55
+ image = pipe(prompt,
56
+ num_inference_steps=24,
57
+ guidance_scale=3.5,
58
+ ).images[0]
59
+ image.save(f"example.png")
60
+ ```
61
+
62
+ ## Online Inference
63
 
64
+ You can also download this model at [Shakker AI](https://www.shakker.ai/modelinfo/0210878e637047c6bad4db62ebfcefe8?from=feed), where we provide an online interface to generate images.
65
 
 
66
 
67
+ ## Acknowledgements
68
+ This model is trained by our copyrighted users. We release this model under permissions. The model follows [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).