Update README.md
Browse files
README.md
CHANGED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model:
|
4 |
+
- mikeyandfriends/PixelWave_FLUX.1-dev_03
|
5 |
+
library_name: diffusers
|
6 |
+
---
|
7 |
+
|
8 |
+
|
9 |
+
``` python
|
10 |
+
|
11 |
+
pip install sentencepiece
|
12 |
+
pip install tokenizer
|
13 |
+
pip install accelerate
|
14 |
+
pip install protobuf
|
15 |
+
|
16 |
+
import torch
|
17 |
+
from diffusers import FluxPipeline
|
18 |
+
|
19 |
+
pipe = FluxPipeline.from_pretrained("ModelsLab/Pixelwave-Flux", torch_dtype=torch.bfloat16)
|
20 |
+
pipe.to("cuda")
|
21 |
+
prompt="close beutiful lady face"
|
22 |
+
# Depending on the variant being used, the pipeline call will slightly vary.
|
23 |
+
# Refer to the pipeline documentation for more details.
|
24 |
+
image = pipe(prompt, num_inference_steps=15, guidance_scale=4.5).images[0]
|
25 |
+
image.save("flux.png")
|
26 |
+
|
27 |
+
```
|
28 |
+
![images_display](fre.png)
|