Spaces:
Running
on
Zero
Running
on
Zero
Update nodes.py
Browse files
nodes.py
CHANGED
@@ -1545,7 +1545,7 @@ class SaveImage:
|
|
1545 |
|
1546 |
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
1547 |
file = f"{filename_with_batch_num}_{counter:05}_.png"
|
1548 |
-
img.save(path, pnginfo=metadata, compress_level=self.compress_level)
|
1549 |
results.append({
|
1550 |
"filename": file,
|
1551 |
"subfolder": subfolder,
|
|
|
1545 |
|
1546 |
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
1547 |
file = f"{filename_with_batch_num}_{counter:05}_.png"
|
1548 |
+
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)
|
1549 |
results.append({
|
1550 |
"filename": file,
|
1551 |
"subfolder": subfolder,
|