Update output path variable from args.output to output_abs in generate_equirect.py

This commit is contained in:
2026-05-14 10:46:27 +02:00
parent 7f720033e2
commit cfb0041286

View File

@@ -101,7 +101,7 @@ def generate_equirect(prompt: str, output: str, work_dir: str | None = None) ->
height=height
).images[0]
seamless_path = os.path.join(tempdir, os.path.basename(args.output))
seamless_path = os.path.join(tempdir, os.path.basename(output_abs))
inpainted = unshift_image(inpainted, shift_amt)
inpainted.save(seamless_path)
print(f"→ Crafted seamless image: {seamless_path}")