baqu2213 commited on
Commit
6305926
1 Parent(s): dd12517

Upload 3 files

Browse files
Danbooru Prompt Selector/TEST2024/copyright_list_reformatted.py ADDED
The diff for this file is too large to render. See raw diff
 
Danbooru Prompt Selector/TEST2024/prompt_selector_auto_1212_testv8.exe CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:96e70647e72bf2b5840baeefddecd0e692df3e08e5c2200569b6c282f859573a
3
- size 151426036
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6fee38fe9ba6328b149e095b27ad28c90f24b4bd02d3577fbf77746da746451
3
+ size 150955994
Danbooru Prompt Selector/TEST2024/prompt_selector_auto_1212_testv8.py CHANGED
@@ -27,13 +27,13 @@ from IPython.display import display
27
  import win32clipboard
28
  from io import BytesIO
29
  from datetime import datetime
30
- import arti_list, tagbag, wlist, copyright_dict
31
  import character_dictionary as cd
32
  import pandas as pd
33
  import webbrowser
34
 
35
  BASE_URL="https://api.novelai.net"
36
- copyright_keys = list(copyright_dict.copyright_dict.keys())
37
  character_keys = list(cd.character_dictionary.keys())
38
 
39
  def argon_hash(email: str, password: str, size: int, domain: str) -> str:
@@ -575,7 +575,7 @@ def random_function():
575
 
576
  rm_copyright = []
577
  global copyright_keys
578
- if(rm_copyright_var.get() == 1):
579
  for keyword in random_row_keywords:
580
  if keyword in copyright_keys:
581
  rm_copyright.append(keyword)
 
27
  import win32clipboard
28
  from io import BytesIO
29
  from datetime import datetime
30
+ import arti_list, tagbag, wlist, copyright_list_reformatted
31
  import character_dictionary as cd
32
  import pandas as pd
33
  import webbrowser
34
 
35
  BASE_URL="https://api.novelai.net"
36
+ copyright_keys = copyright_list_reformatted.copyright_list
37
  character_keys = list(cd.character_dictionary.keys())
38
 
39
  def argon_hash(email: str, password: str, size: int, domain: str) -> str:
 
575
 
576
  rm_copyright = []
577
  global copyright_keys
578
+ if(rm_copyright_var.get()):
579
  for keyword in random_row_keywords:
580
  if keyword in copyright_keys:
581
  rm_copyright.append(keyword)