Nitin9sitare
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -13,8 +13,11 @@ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICE
|
|
13 |
# Flux_finetune_with_swami_Vivekananda final
|
14 |
|
15 |
<Gallery />
|
|
|
16 |
## Inference
|
17 |
|
|
|
|
|
18 |
import torch
|
19 |
from diffusers import FluxPipeline
|
20 |
|
@@ -28,9 +31,10 @@ prompt = "A young Indian monk with sunglasses in a cricket ground, holding a bat
|
|
28 |
image = pipe(prompt,
|
29 |
num_inference_steps=24,
|
30 |
guidance_scale=3.5,
|
31 |
-
width=
|
32 |
).images[0]
|
33 |
image.save(f"example.png")
|
|
|
34 |
|
35 |
## Model description
|
36 |
|
|
|
13 |
# Flux_finetune_with_swami_Vivekananda final
|
14 |
|
15 |
<Gallery />
|
16 |
+
|
17 |
## Inference
|
18 |
|
19 |
+
```python
|
20 |
+
|
21 |
import torch
|
22 |
from diffusers import FluxPipeline
|
23 |
|
|
|
31 |
image = pipe(prompt,
|
32 |
num_inference_steps=24,
|
33 |
guidance_scale=3.5,
|
34 |
+
width=960, height=1280,
|
35 |
).images[0]
|
36 |
image.save(f"example.png")
|
37 |
+
```
|
38 |
|
39 |
## Model description
|
40 |
|