mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-27 01:38:53 +00:00
added an option to filter out deepbooru tags
This commit is contained in:
@@ -79,7 +79,9 @@ class DeepDanbooru:
|
||||
|
||||
res = []
|
||||
|
||||
for tag in tags:
|
||||
filtertags = set([x.strip().replace(' ', '_') for x in shared.opts.deepbooru_filter_tags.split(",")])
|
||||
|
||||
for tag in [x for x in tags if x not in filtertags]:
|
||||
probability = probability_dict[tag]
|
||||
tag_outformat = tag
|
||||
if use_spaces:
|
||||
|
||||
Reference in New Issue
Block a user