dverdu-freepik
commited on
Commit
•
1e7d36d
1
Parent(s):
3b7301d
Fix example
Browse files
README.md
CHANGED
@@ -55,13 +55,13 @@ pipe = FluxPipeline.from_pretrained(
|
|
55 |
prompt = "Scene inspired by 2000 comedy animation, a glowing green alien whose fluorescent skin emits light, standing in a dark purple forest. The alien is holding a large sign that reads 'LITE 8B ALPHA' in bold letters. The forest around is shadowy, with tall, eerie trees and mist rolling in. The alien radiates a soft, supernatural glow, illuminating the surroundings, creating a stark contrast between light and darkness. Style of an old comic, with flat colors, halftone shading, and a slightly weathered, vintage texture."
|
56 |
|
57 |
guidance_scale = 3.5 # Important to keep guidance_scale to 3.5
|
58 |
-
n_steps =
|
59 |
-
seed =
|
60 |
|
61 |
with torch.inference_mode():
|
62 |
image = pipe(
|
63 |
prompt=prompt,
|
64 |
-
generator=torch.Generator(device="
|
65 |
num_inference_steps=n_steps,
|
66 |
guidance_scale=guidance_scale,
|
67 |
height=1024,
|
|
|
55 |
prompt = "Scene inspired by 2000 comedy animation, a glowing green alien whose fluorescent skin emits light, standing in a dark purple forest. The alien is holding a large sign that reads 'LITE 8B ALPHA' in bold letters. The forest around is shadowy, with tall, eerie trees and mist rolling in. The alien radiates a soft, supernatural glow, illuminating the surroundings, creating a stark contrast between light and darkness. Style of an old comic, with flat colors, halftone shading, and a slightly weathered, vintage texture."
|
56 |
|
57 |
guidance_scale = 3.5 # Important to keep guidance_scale to 3.5
|
58 |
+
n_steps = 28
|
59 |
+
seed = 11
|
60 |
|
61 |
with torch.inference_mode():
|
62 |
image = pipe(
|
63 |
prompt=prompt,
|
64 |
+
generator=torch.Generator(device="cpu").manual_seed(seed),
|
65 |
num_inference_steps=n_steps,
|
66 |
guidance_scale=guidance_scale,
|
67 |
height=1024,
|