Update sd_tag_batch.py

pull/6/head
RookHyena 2024-05-07 15:11:02 -07:00 committed by GitHub
parent 8412f15aa9
commit b83d6f20d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ class Script(scripts.Script):
interrogator = self.filter_words(interrogator, raw_prompt)
# Remove negative prompt content from interrogator prompt
if use_negatives:
interrogator = self.filter_words(interrogator, p.negative_prompt)
raw_negative = p.negative_prompt
interrogator = self.filter_words(interrogator, raw_negative)
if use_weight:
if p.prompt == "":