removing underscores and colons
This commit is contained in:
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)))
|
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):
|
||||||
|
|
Loading…
Reference in New Issue