OzzyGT HF Staff commited on
Commit
7ba115e
·
verified ·
1 Parent(s): 9443a8d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -32,7 +32,7 @@ prompt + image + diffdiff_map -> differential diffusion
32
  import torch
33
  from diffusers import ModularPipeline
34
 
35
- pipe = ModularPipeline.from_pretrained("OzzyGT/ideogram4-modular", trust_remote_code=True)
36
  pipe.load_components(
37
  names=["text_encoder", "tokenizer", "transformer", "unconditional_transformer", "vae", "scheduler"],
38
  torch_dtype=torch.bfloat16,
@@ -56,6 +56,8 @@ result = pipe(
56
  prompt="a photo of a snowy mountain landscape at sunset, dramatic clouds",
57
  image=image,
58
  strength=0.6,
 
 
59
  output="images",
60
  )[0]
61
  result.save("img2img.png")
 
32
  import torch
33
  from diffusers import ModularPipeline
34
 
35
+ pipe = ModularPipeline.from_pretrained("OzzyGT/ideogram4_custom_blocks", trust_remote_code=True)
36
  pipe.load_components(
37
  names=["text_encoder", "tokenizer", "transformer", "unconditional_transformer", "vae", "scheduler"],
38
  torch_dtype=torch.bfloat16,
 
56
  prompt="a photo of a snowy mountain landscape at sunset, dramatic clouds",
57
  image=image,
58
  strength=0.6,
59
+ height=1024,
60
+ width=1024,
61
  output="images",
62
  )[0]
63
  result.save("img2img.png")