Update output path variable from args.output to output_abs in generate_equirect.py
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user