Skip to content

Commit

Permalink
nsfw info gen_metadata fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtcs1 authored and tazlin committed Sep 28, 2024
1 parent 63b5d47 commit 76abd6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions horde_worker_regen/process_management/process_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,7 @@ def receive_and_handle_process_messages(self) -> None:
type=METADATA_TYPE.information,
value=METADATA_VALUE.nsfw,
)
completed_job_info.job_image_results[i].generation_faults.append(new_meta_entry)
if message.safety_evaluations[i].replacement_image_base64 is not None:
new_meta_entry = GenMetadataEntry(
type=METADATA_TYPE.censorship,
Expand Down

0 comments on commit 76abd6b

Please sign in to comment.