Upload NAIA_random_function_core.py
Browse files
Danbooru Prompt Selector/TEST2024/NAIA_random_function_core.py
CHANGED
@@ -39,7 +39,10 @@ def RFP(popped_row, fix_prompt, after_prompt, auto_hide_prompt, rm_a, rm_s, rm_c
|
|
39 |
general.remove(keyword)
|
40 |
fix = [item.strip() for item in fix_prompt[:-1].split(',')]
|
41 |
if rm_s == 0:
|
42 |
-
|
|
|
|
|
|
|
43 |
fix = fix + series
|
44 |
after = [item.strip() for item in after_prompt[:-1].split(',')]
|
45 |
auto_hide = [item.strip() for item in auto_hide_prompt[:-1].split(',')] + ["| |", ":|", "\||/", "<|> <|>", "|| ||", ";|"]
|
|
|
39 |
general.remove(keyword)
|
40 |
fix = [item.strip() for item in fix_prompt[:-1].split(',')]
|
41 |
if rm_s == 0:
|
42 |
+
if popped_row['copyright']:
|
43 |
+
series = [item.strip() for item in popped_row['copyright'].split(',')]
|
44 |
+
else:
|
45 |
+
series = []
|
46 |
fix = fix + series
|
47 |
after = [item.strip() for item in after_prompt[:-1].split(',')]
|
48 |
auto_hide = [item.strip() for item in auto_hide_prompt[:-1].split(',')] + ["| |", ":|", "\||/", "<|> <|>", "|| ||", ";|"]
|