removing underscores and colons

master
Greendayle 3 years ago
parent 17a99baf0c
commit 4320f386d9

@ -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):

Loading…
Cancel
Save