If there are no tags just return the main prompt
This commit is contained in:
parent
c1a66317cd
commit
646f383188
|
@ -74,7 +74,7 @@ class ImageCaption:
|
|||
tags_caption = self.__get_shuffled_tags(seed, self.__tags)
|
||||
|
||||
return self.__main_prompt + ", " + tags_caption
|
||||
return self.__main_prompt + ", " + tags_caption
|
||||
return self.__main_prompt
|
||||
|
||||
def get_caption(self) -> str:
|
||||
if self.__tags:
|
||||
|
|
Loading…
Reference in New Issue