If there are no tags just return the main prompt

This commit is contained in:
Joel Holdbrooks 2023-01-23 11:27:12 -08:00
parent c1a66317cd
commit 646f383188
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class ImageCaption:
tags_caption = self.__get_shuffled_tags(seed, self.__tags) 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 + ", " + tags_caption return self.__main_prompt
def get_caption(self) -> str: def get_caption(self) -> str:
if self.__tags: if self.__tags: