Merge pull request #17 from lllyasviel/dev

Dev
This commit is contained in:
lllyasviel
2024-01-27 09:47:52 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ clip_model_name = 'ViT-L/14'
Category = namedtuple("Category", ["name", "topn", "items"])
re_topn = re.compile(r"\.top(\d+)\.")
re_topn = re.compile(r"\.top(\d+)$")
def category_types():
return [f.stem for f in Path(shared.interrogator.content_dir).glob('*.txt')]