Upload 2 files
Browse filesFiles changed (2)
12323version https://git-lfs.github.com/spec/v1oid sha256:6d059b8192f4d7615a125a42795cf40db306a4d79c752c0b9a546704724467e0size 81784114oid sha256:a316c0139d35f1138c54bd4cbaf7376177e59a68779c97aae66535404dd93b8csize 817822871072 unmodified lines1073107410751076107710781079128 unmodified lines12081209121012111212121112131214121535 unmodified lines125112521253125412551256125712589 unmodified lines12681269127012681271127012721273127412751276127712781279128012811282128312841285383 unmodified lines16691670167116721673167416751072 unmodified lines global running_flag global image_queue global turbo_stop_bit global task_finished
if(pipe_number == 0): image_queue.clear()
128 unmodified lines print('running_flag : ',running_flag,'pipe_number : ',pipe_number, ' : already running ') if(turbo_stop_bit): return print('containing : ',pipe_number)
running_flag = True tprint("Running : request received, pipeline :",pipe_number) try:35 unmodified lines button.config(state=tk.NORMAL) if(mac_var.get()): window.event_generate(GENERATE_EVENT, when="tail")
task_finished += 1 #터보 기능의 안전장치입니다.
time.sleep(random.uniform(3.0, 5.5)) if(pipe_number == 4): button.config(state=tk.NORMAL) running_flag = False9 unmodified lines stopped = True if (pipe_number != 4): tprint("Stopped : request stopped before assign pipeline :",pipe_number+1) pipe_number = 4
if pipe_number == 4 and mac_var.get() and not running_flag: if pipe_number == 4 and mac_var.get(): print(" task finished : ",task_finished) wait_limit = 0 while(task_finished < 5 and wait_limit < 10): wait_limit += 1 print(f"Wait other pipeline ... : ({wait_limit}/10)") time.sleep(3) if(wait_limit == 10): print(f"Process : {turbo_count} request time-out") running_flag = False task_finished = 0 random_function() time.sleep(random.uniform(2.1, 5.5)) if not (turbo_stop_bit):383 unmodified linesimage_queue = []last_generation_seed = random.randint(0,9999999999)turbo_stop_bit = Falsetask_finished = 0
whitelist = wlist.whitelistbag_of_tags = tagbag.bag_of_tagsDanbooru Prompt Selector/TEST/prompt_selector_auto_1205_test.exe+2-2
Danbooru Prompt Selector/TEST/prompt_selector_auto_1205_test.py+16-3