Skip to content

Commit f489c81

Browse files
docs(ui): add comments to nsfw & watermarker helpers
1 parent af477fa commit f489c81

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

invokeai/frontend/web/src/features/nodes/util/graph/generation/addNSFWChecker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const addNSFWChecker = (
2020
use_cache: false,
2121
});
2222

23+
// The NSFW checker node is the new image output - make the previous one intermediate
2324
imageOutput.is_intermediate = true;
2425
imageOutput.use_cache = true;
2526
imageOutput.board = undefined;

invokeai/frontend/web/src/features/nodes/util/graph/generation/addWatermarker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const addWatermarker = (
2020
use_cache: false,
2121
});
2222

23+
// The watermarker node is the new image output - make the previous one intermediate
2324
imageOutput.is_intermediate = true;
2425
imageOutput.use_cache = true;
2526
imageOutput.board = undefined;

0 commit comments

Comments
 (0)