Skip to content

Commit

Permalink
Fix extras BLIP caption
Browse files Browse the repository at this point in the history
  • Loading branch information
missionfloyd committed Dec 22, 2023
1 parent 6b4f147 commit 654ca97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/postprocessing_caption.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ def process(self, pp: scripts_postprocessing.PostprocessedImage, enable, option)
captions.append(deepbooru.model.tag(pp.image))

if "BLIP" in option:
captions.append(shared.interrogator.generate_caption(pp.image))
captions.append(shared.interrogator.interrogate(pp.image))

pp.caption = ", ".join([x for x in captions if x])

1 comment on commit 654ca97

@w-e-w
Copy link
Collaborator

@w-e-w w-e-w commented on 654ca97 Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahhh, #14330

Please sign in to comment.