Commit 4320f386 authored by Greendayle's avatar Greendayle

removing underscores and colons

parent 17a99baf
...@@ -56,7 +56,7 @@ def _load_tf_and_return_tags(pil_image, threshold): ...@@ -56,7 +56,7 @@ def _load_tf_and_return_tags(pil_image, threshold):
print('\n'.join(sorted(result_tags_print, reverse=True))) 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): def get_deepbooru_tags(pil_image, threshold=0.5):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment