Upload 2 files
Browse filesFiles changed (2)
12323version https://git-lfs.github.com/spec/v1oid sha256:7afaeedfba26703754b53ad482e34f25c6f34f0961a75260f2da642d6a3e3245size 81785954oid sha256:6fbbd17188be863d035697b966d48f844b014c36fbdc06c34446063cfbca3a4esize 81786194180 unmodified lines181182183184184185186187310 unmodified lines498499500501502503504505506507508509510511512513514515516517518519520521180 unmodified lines log_error(zipped_bytes.decode('utf-8')[2:-2], "path_to_output_folder") time.sleep(random.uniform(1.0, 2.5)) error_count += 1 if '429' in zipped_bytes.decode('utf-8')[2:-2] and access_token_multi: if '429:' in zipped_bytes.decode('utf-8')[2:-2] and access_token_multi: if not multi_token_enable: multi_token_enable = True else:310 unmodified lines if " (" in keyword: temp_first_keywords.append(keyword) random_row_keywords.remove(keyword) # 타율 개선 프롬프트 valid_keywords = [] for keyword in temp_first_keywords: if "(" in keyword and "(artist)" not in keyword and "(style)" not in keyword: start = keyword.find("(") + 1 end = keyword.find(")") if start < end and keyword[start:end] in current_deep_search_keywords: valid_keywords.append(keyword) for keyword in valid_keywords: if keyword in temp_first_keywords: temp_first_keywords.remove(keyword) girl_index = next((i for i, k in enumerate(temp_first_keywords) if 'girl' in k), None) if girl_index is not None: for keyword in valid_keywords: temp_first_keywords.insert(girl_index + 1, keyword) girl_index += 1 # 결과 출력 print(temp_first_keywords)
#last_selected_row_keywords =boy_keywords + girl_keywords[:0] + random_row_keywords #print("3 :", temp_first_keywords)Danbooru Prompt Selector/TEST/prompt_selector_auto_1208_testv7.exe+2-2
Danbooru Prompt Selector/TEST/prompt_selector_auto_1208_testv7.py+19-1