Upload folder using huggingface_hub
Browse files- linux/libtagforge.so +2 -2
- linux/tagforge_native.py +18 -0
- macos-arm64/libtagforge.dylib +2 -2
- macos-arm64/tagforge_native.py +18 -0
- macos-x64/libtagforge.dylib +2 -2
- macos-x64/tagforge_native.py +18 -0
- version.txt +1 -1
- windows/tagforge.dll +2 -2
- windows/tagforge_native.py +18 -0
linux/libtagforge.so
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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.
|
|
|
|
| 1 |
+
0.4.5
|
windows/tagforge.dll
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 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:
|