k4d3 commited on
Commit
13ab065
1 Parent(s): 8dad71b
9em124t2-499968/image_adapter.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e53c3bf8df745a3c19ae3c70dbf9bf23cfdc8f3fdb937000a4eafd2a36914661
3
- size 86067714
 
 
 
 
9em124t2-499968/text_model/adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b48221de174ab0db7b46b4833118c5c0a4c2bf0b51b77b4cc4ab04651bd06cca
3
  size 109069176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ced50820de4649e284a17d104056fe828d692d1b87960e90dedfd2467351fdd
3
  size 109069176
joy CHANGED
@@ -870,7 +870,7 @@ def find_tag_file(image_path):
870
  match = re.match(r"(.+)-\d+$", base_name)
871
  if match:
872
  base_name = match.group(1)
873
- tag_file = image_path.with_name(base_name).with_suffix(".txt")
874
  if tag_file.exists():
875
  return tag_file
876
 
 
870
  match = re.match(r"(.+)-\d+$", base_name)
871
  if match:
872
  base_name = match.group(1)
873
+ tag_file = image_path.with_name(base_name).with_suffix(".tags")
874
  if tag_file.exists():
875
  return tag_file
876
 
jtp2 CHANGED
@@ -260,7 +260,7 @@ def process_directory(directory, threshold):
260
  for file in files:
261
  if file.lower().endswith(('.jpg', '.jpeg', '.png', '.jxl')):
262
  image_path = os.path.join(root, file)
263
- text_file_path = os.path.splitext(image_path)[0] + ".txt"
264
 
265
  # Skip if a corresponding .txt file already exists
266
  if os.path.exists(text_file_path):
 
260
  for file in files:
261
  if file.lower().endswith(('.jpg', '.jpeg', '.png', '.jxl')):
262
  image_path = os.path.join(root, file)
263
+ text_file_path = os.path.splitext(image_path)[0] + ".tags"
264
 
265
  # Skip if a corresponding .txt file already exists
266
  if os.path.exists(text_file_path):