Skip to content

Commit

Permalink
added low-res-fix using tile-- let's see if it fixes or not
Browse files Browse the repository at this point in the history
  • Loading branch information
usamaehsan committed Nov 19, 2023
1 parent e28e6fa commit 4c142ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def predict(
negative_prompt_embeds=self.compel_proc(negative_prompt),
num_images_per_prompt=1,
generator=generator,
# output_type="latent" if consistency_decoder else "pil",
output_type="pil",
**kwargs,
)

Expand All @@ -488,7 +488,7 @@ def predict(
output_path = f"/tmp/seed-{this_seed}.png"
output.images[0].save(output_path)
output_paths.append(Path(output_path))

print("size: ", output.images[0].size)
if low_res_fix:
print("Running low res fix...")
start = time.time()
Expand Down

0 comments on commit 4c142ed

Please sign in to comment.