baqu2213 commited on
Commit
8d6696d
1 Parent(s): 0fb1ce1

Upload 2 files

Browse files
Danbooru Prompt Selector/TEST/prompt_selector_auto_1208_testv6.exe CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f4d89276fd461a4d310bc57b6ad003146031eb09d1e1a1de1fc90c9dbbb2263f
3
- size 81784264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e359edfa85abd142301b02cc3ebcc59d1040f2effeeb0443b02f6ccae56ccf88
3
+ size 81784429
Danbooru Prompt Selector/TEST/prompt_selector_auto_1208_testv6.py CHANGED
@@ -1647,6 +1647,10 @@ def tprint(*args):
1647
  ctext += str(t)
1648
  running_state.config(text=ctext)
1649
 
 
 
 
 
1650
  start_time = datetime.now().strftime('%Y%m%d_%H%M')
1651
  thread_controller = False
1652
  turbo_count = 0
@@ -2006,7 +2010,7 @@ entry_seed_value.set(last_generation_seed)
2006
  entry_seed = tk.Entry(right_frame_area16, width=15, textvariable=entry_seed_value)
2007
  entry_seed.grid(row=0, column=1, sticky='ew')
2008
  hold_seed_var = tk.IntVar(value=0)
2009
- hold_seed_button = tk.Checkbutton(right_frame_area16, text="시드고정", variable=hold_seed_var)
2010
  hold_seed_button.grid(row=0, column=2, sticky='ew')
2011
 
2012
  btn_add_low_freq = tk.Button(right_frame_area16, text="이미지를 클립보드에 복사", fg="blue", command=copy_image_to_clipboard)
 
1647
  ctext += str(t)
1648
  running_state.config(text=ctext)
1649
 
1650
+ def on_hold_seed_button_click():
1651
+ global last_generation_seed
1652
+ last_generation_seed = entry_seed_value.get() # entry_seed_value에서 값을 가져와 last_generation_seed에 저장
1653
+
1654
  start_time = datetime.now().strftime('%Y%m%d_%H%M')
1655
  thread_controller = False
1656
  turbo_count = 0
 
2010
  entry_seed = tk.Entry(right_frame_area16, width=15, textvariable=entry_seed_value)
2011
  entry_seed.grid(row=0, column=1, sticky='ew')
2012
  hold_seed_var = tk.IntVar(value=0)
2013
+ hold_seed_button = tk.Checkbutton(right_frame_area16, text="시드고정", variable=hold_seed_var, command=on_hold_seed_button_click)
2014
  hold_seed_button.grid(row=0, column=2, sticky='ew')
2015
 
2016
  btn_add_low_freq = tk.Button(right_frame_area16, text="이미지를 클립보드에 복사", fg="blue", command=copy_image_to_clipboard)