Update Danbooru Prompt Selector/prompt selector.py
Browse files
Danbooru Prompt Selector/prompt selector.py
CHANGED
@@ -60,7 +60,7 @@ def exclude():
|
|
60 |
writer = csv.writer(f_out)
|
61 |
writer_count = 0
|
62 |
for row in reader:
|
63 |
-
if not
|
64 |
writer.writerow(row)
|
65 |
writer_count += 1
|
66 |
total_rows = writer_count
|
|
|
60 |
writer = csv.writer(f_out)
|
61 |
writer_count = 0
|
62 |
for row in reader:
|
63 |
+
if not any(search_str in value for search_str in search_strings for value in row):
|
64 |
writer.writerow(row)
|
65 |
writer_count += 1
|
66 |
total_rows = writer_count
|