Commit 4320f386 authored by Greendayle's avatar Greendayle
Browse files

removing underscores and colons

parent 17a99baf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):