Diffusers
English
sayakpaul HF staff commited on
Commit
182d752
1 Parent(s): f5864a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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}_{'upsampled' if upsample else 'non_upsampled'}.png")
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>