removing underscores and colons

This commit is contained in:
Greendayle 2022-10-05 22:39:32 +02:00
parent 17a99baf0c
commit 4320f386d9
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def _load_tf_and_return_tags(pil_image, threshold):
print('\n'.join(sorted(result_tags_print, reverse=True)))
return ', '.join(result_tags_out)
return ', '.join(result_tags_out).replace('_', ' ').replace(':', ' ')
def get_deepbooru_tags(pil_image, threshold=0.5):