Upload 2 files
Browse files
Danbooru Prompt Selector/TEST2024/prompt_selector_auto_1212_testv8.exe
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7d697a79c66356688c5c6c839f7e1c3eefc0d8aebe538b670423ca8217d6786
|
3 |
+
size 150997788
|
Danbooru Prompt Selector/TEST2024/prompt_selector_auto_1212_testv8.py
CHANGED
@@ -694,7 +694,8 @@ def random_function():
|
|
694 |
idx += 1
|
695 |
pop_character = []
|
696 |
for keyword in random_row_keywords:
|
697 |
-
|
|
|
698 |
pop_character.append(keyword)
|
699 |
if pop_character is not None:
|
700 |
found_index = 0
|
@@ -715,7 +716,8 @@ def random_function():
|
|
715 |
random_row_keywords.insert(found_index,keyword)
|
716 |
pop_artist = []
|
717 |
for keyword in random_row_keywords:
|
718 |
-
|
|
|
719 |
pop_artist.append(keyword)
|
720 |
if pop_artist is not None:
|
721 |
for keyword in pop_artist:
|
|
|
694 |
idx += 1
|
695 |
pop_character = []
|
696 |
for keyword in random_row_keywords:
|
697 |
+
character_temp_keyword = keyword.replace('{', '').replace('}', '').replace('[', '').replace(']', '')
|
698 |
+
if character_temp_keyword in character_keys:
|
699 |
pop_character.append(keyword)
|
700 |
if pop_character is not None:
|
701 |
found_index = 0
|
|
|
716 |
random_row_keywords.insert(found_index,keyword)
|
717 |
pop_artist = []
|
718 |
for keyword in random_row_keywords:
|
719 |
+
artist_temp_keyword = keyword.replace('{', '').replace('}', '').replace('[', '').replace(']', '')
|
720 |
+
if artist_temp_keyword in afilter_30000:
|
721 |
pop_artist.append(keyword)
|
722 |
if pop_artist is not None:
|
723 |
for keyword in pop_artist:
|