Upload 2 files
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:315da6381677fae2d82f1af60308d61aa0236e77195c948b5693852d66a4cadcsize 81782698123version https://git-lfs.github.com/spec/v1oid sha256:80c2a198e024b4ed79e9b5af682cfb9beed9eb380fc53cce935a00b73e78fc19size 81782708
171 unmodified lines172173174175176177178179180181182183184185186187188189190191192193629 unmodified lines823824825826827828829830831832833834835836171 unmodified linesif mac_var.get():time.sleep(random.uniform(3.0, 9.0))button.config(state=tk.DISABLED)window.event_generate(GENERATE_EVENT, when="tail")else:time.sleep(random.uniform(1.0, 2.5))button.config(state=tk.NORMAL)running_flag = Falseif mac_var.get() and not running_flag:random_function()time.sleep(random.uniform(5.1, 8.5))button.config(state=tk.DISABLED)running_flag = Falsewindow.event_generate(GENERATE_EVENT, when="tail")else:time.sleep(random.uniform(1.0, 2.5))button.config(state=tk.NORMAL)running_flag = Falsetprint('state : idle')def filter_csv(input_file, output_file, _search_strings):629 unmodified linesglobal access_token_multi, NAI_width, NAI_heightpretest = text_output.get("1.0", tk.END).split(', ')if ('sex' not in pretest and '1girl' not in pretest and '1boy' not in pretest):tprint('ํ์ฌ ๋ถ์คํธ ๊ธฐ๋ฅ์ 1girl, 1boy, sex ์ธ๊ฐ์ง ํค์๋๊ฐ ์์ด์ผ ๋์ํฉ๋๋ค.')returnif(rand_resolution_var.get() == 1):resolutions = ["1024 x 1024", "960 x 1088", "896 x 1152", "832 x 1216", "1088 x 960", "1152 x 896", "1216 x 832"]random_resolution = random.choice(resolutions)selected_resolution.set(random_resolution)if(turbo_var.get() == 1 and access_token):NAI_generation_turbo(NAI_width, NAI_height, button)else: NAI_generation_normal(NAI_width, NAI_height, button)171 unmodified lines172173174175176177178179180181182183184185186187188189190191192193194629 unmodified lines824825826827828829830831832833834835836837838839171 unmodified linesif mac_var.get():time.sleep(random.uniform(3.0, 9.0))button.config(state=tk.DISABLED)running_flag = Falsewindow.event_generate(GENERATE_EVENT, when="tail")else:time.sleep(random.uniform(1.0, 2.5))button.config(state=tk.NORMAL)running_flag = Falserunning_flag = Falseif mac_var.get() and not running_flag:random_function()time.sleep(random.uniform(5.1, 8.5))button.config(state=tk.DISABLED)window.event_generate(GENERATE_EVENT, when="tail")else:time.sleep(random.uniform(1.0, 2.5))button.config(state=tk.NORMAL)tprint('state : idle')def filter_csv(input_file, output_file, _search_strings):629 unmodified linesglobal access_token_multi, NAI_width, NAI_heightpretest = text_output.get("1.0", tk.END).split(', ')if (turbo_var.get() == 1):if ( 'sex' not in pretest or '1girl' not in pretest or '1boy' not in pretest):tprint('ํ์ฌ ๋ถ์คํธ ๊ธฐ๋ฅ์ 1girl, 1boy, sex ์ธ๊ฐ์ง ํค์๋๊ฐ ์์ด์ผ ๋์ํฉ๋๋ค.')returnif(rand_resolution_var.get() == 1):resolutions = ["1024 x 1024", "960 x 1088", "896 x 1152", "832 x 1216", "1088 x 960", "1152 x 896", "1216 x 832"]random_resolution = random.choice(resolutions)selected_resolution.set(random_resolution)if(turbo_var.get() == 1 and access_token):NAI_generation_turbo(NAI_width, NAI_height, button)else: NAI_generation_normal(NAI_width, NAI_height, button)
Danbooru Prompt Selector/TEST/prompt_selector_auto_1204_test.exe+2-2
Danbooru Prompt Selector/TEST/prompt_selector_auto_1204_test.py+8-5