Update README.md
Browse files
README.md
CHANGED
@@ -189,7 +189,7 @@ import torch
|
|
189 |
pipeline = FluxPipeline.from_pretrained(
|
190 |
"black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16
|
191 |
).to("cuda")
|
192 |
-
# Change this.
|
193 |
pipeline.load_lora_weights("optimus_16.safetensors")
|
194 |
|
195 |
prompts = [
|
@@ -206,7 +206,7 @@ images = pipeline(
|
|
206 |
generator=torch.manual_seed(0)
|
207 |
).images
|
208 |
for i, image in enumerate(images):
|
209 |
-
image.save(f"{i}
|
210 |
```
|
211 |
|
212 |
</details>
|
|
|
189 |
pipeline = FluxPipeline.from_pretrained(
|
190 |
"black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16
|
191 |
).to("cuda")
|
192 |
+
# Change this accordingly.
|
193 |
pipeline.load_lora_weights("optimus_16.safetensors")
|
194 |
|
195 |
prompts = [
|
|
|
206 |
generator=torch.manual_seed(0)
|
207 |
).images
|
208 |
for i, image in enumerate(images):
|
209 |
+
image.save(f"{i}.png")
|
210 |
```
|
211 |
|
212 |
</details>
|