cooperdk commited on
Commit
2463824
·
verified ·
1 Parent(s): a7113dc

Upload folder using huggingface_hub

Browse files
linux/libtagforge.so CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:65b0d1c3894bb1d71c83ef3ae03bdfb9d0c10d6772768aaa5dcc59dde179b559
3
- size 22193192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2ce953a453c89ab69534fceb62e0f5567fdeffcf023c23e7d24f0def33c3fbd
3
+ size 22337000
linux/tagforge_native.py CHANGED
@@ -48,6 +48,13 @@ try:
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
 
 
 
 
 
 
 
51
 
52
  def styles():
53
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
@@ -70,6 +77,17 @@ def nsfw_anatomy():
70
  return {}
71
 
72
 
 
 
 
 
 
 
 
 
 
 
 
73
  def version():
74
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
75
  if not _HAS_SEARCH:
 
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
51
+ # tagforge_interactions — guarded separately too.
52
+ try:
53
+ _lib.tagforge_interactions.restype = ctypes.c_char_p
54
+ _HAS_INTERACTIONS = True
55
+ except AttributeError:
56
+ _HAS_INTERACTIONS = False
57
+
58
 
59
  def styles():
60
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
 
77
  return {}
78
 
79
 
80
+ def interactions():
81
+ """Multi-person interaction taxonomy (tier-gated; a free DLL embeds only non-sexual ones).
82
+ Structure: {"interactions": {tag: {type, subtype, actor_requires, target_requires, …}}}. {} if unavailable."""
83
+ if not _HAS_INTERACTIONS:
84
+ return {}
85
+ try:
86
+ return json.loads((_lib.tagforge_interactions() or b"{}").decode("utf-8"))
87
+ except Exception:
88
+ return {}
89
+
90
+
91
  def version():
92
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
93
  if not _HAS_SEARCH:
macos-arm64/libtagforge.dylib CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2eead57fb023916698716d0849894ce6db0cace98db68c089fd8fc2880649104
3
- size 22295792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:635acdb5250348702c0d77e3c875e6da6de9c3a8292b4440f0cc567c0e0c7895
3
+ size 22444448
macos-arm64/tagforge_native.py CHANGED
@@ -48,6 +48,13 @@ try:
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
 
 
 
 
 
 
 
51
 
52
  def styles():
53
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
@@ -70,6 +77,17 @@ def nsfw_anatomy():
70
  return {}
71
 
72
 
 
 
 
 
 
 
 
 
 
 
 
73
  def version():
74
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
75
  if not _HAS_SEARCH:
 
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
51
+ # tagforge_interactions — guarded separately too.
52
+ try:
53
+ _lib.tagforge_interactions.restype = ctypes.c_char_p
54
+ _HAS_INTERACTIONS = True
55
+ except AttributeError:
56
+ _HAS_INTERACTIONS = False
57
+
58
 
59
  def styles():
60
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
 
77
  return {}
78
 
79
 
80
+ def interactions():
81
+ """Multi-person interaction taxonomy (tier-gated; a free DLL embeds only non-sexual ones).
82
+ Structure: {"interactions": {tag: {type, subtype, actor_requires, target_requires, …}}}. {} if unavailable."""
83
+ if not _HAS_INTERACTIONS:
84
+ return {}
85
+ try:
86
+ return json.loads((_lib.tagforge_interactions() or b"{}").decode("utf-8"))
87
+ except Exception:
88
+ return {}
89
+
90
+
91
  def version():
92
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
93
  if not _HAS_SEARCH:
macos-x64/libtagforge.dylib CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f151e94c0bd68da3ca1cc38285078bb7ba86fe46d2e689c2670948869518007
3
- size 22135424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b0eb7f132ad8eea617cc5dc4f8a9787fe5466a9caaeb58de3068fa1b6f54433
3
+ size 22278840
macos-x64/tagforge_native.py CHANGED
@@ -48,6 +48,13 @@ try:
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
 
 
 
 
 
 
 
51
 
52
  def styles():
53
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
@@ -70,6 +77,17 @@ def nsfw_anatomy():
70
  return {}
71
 
72
 
 
 
 
 
 
 
 
 
 
 
 
73
  def version():
74
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
75
  if not _HAS_SEARCH:
 
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
51
+ # tagforge_interactions — guarded separately too.
52
+ try:
53
+ _lib.tagforge_interactions.restype = ctypes.c_char_p
54
+ _HAS_INTERACTIONS = True
55
+ except AttributeError:
56
+ _HAS_INTERACTIONS = False
57
+
58
 
59
  def styles():
60
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
 
77
  return {}
78
 
79
 
80
+ def interactions():
81
+ """Multi-person interaction taxonomy (tier-gated; a free DLL embeds only non-sexual ones).
82
+ Structure: {"interactions": {tag: {type, subtype, actor_requires, target_requires, …}}}. {} if unavailable."""
83
+ if not _HAS_INTERACTIONS:
84
+ return {}
85
+ try:
86
+ return json.loads((_lib.tagforge_interactions() or b"{}").decode("utf-8"))
87
+ except Exception:
88
+ return {}
89
+
90
+
91
  def version():
92
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
93
  if not _HAS_SEARCH:
version.txt CHANGED
@@ -1 +1 @@
1
- 0.4.4
 
1
+ 0.4.5
windows/tagforge.dll CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b96cbf64c5e4925fb9c3fd4fe9fab95dde044523dab16291ad2a824d70fbf1a
3
- size 22176768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7395d0dbb36426157bf481b984a5aff8a00745073e10eca0da12210b72788246
3
+ size 22320640
windows/tagforge_native.py CHANGED
@@ -48,6 +48,13 @@ try:
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
 
 
 
 
 
 
 
51
 
52
  def styles():
53
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
@@ -70,6 +77,17 @@ def nsfw_anatomy():
70
  return {}
71
 
72
 
 
 
 
 
 
 
 
 
 
 
 
73
  def version():
74
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
75
  if not _HAS_SEARCH:
 
48
  except AttributeError:
49
  _HAS_ANATOMY = False
50
 
51
+ # tagforge_interactions — guarded separately too.
52
+ try:
53
+ _lib.tagforge_interactions.restype = ctypes.c_char_p
54
+ _HAS_INTERACTIONS = True
55
+ except AttributeError:
56
+ _HAS_INTERACTIONS = False
57
+
58
 
59
  def styles():
60
  """Grouped style menu (tier-gated; a free DLL embeds only free styles). {} if unavailable."""
 
77
  return {}
78
 
79
 
80
+ def interactions():
81
+ """Multi-person interaction taxonomy (tier-gated; a free DLL embeds only non-sexual ones).
82
+ Structure: {"interactions": {tag: {type, subtype, actor_requires, target_requires, …}}}. {} if unavailable."""
83
+ if not _HAS_INTERACTIONS:
84
+ return {}
85
+ try:
86
+ return json.loads((_lib.tagforge_interactions() or b"{}").decode("utf-8"))
87
+ except Exception:
88
+ return {}
89
+
90
+
91
  def version():
92
  """Embedded taxonomy/data version, e.g. '0.8.0' ('' on older binaries)."""
93
  if not _HAS_SEARCH: