We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16417b4 commit b998059Copy full SHA for b998059
2 files changed
comfy_api_nodes/canary.py
@@ -0,0 +1,10 @@
1
+import av
2
+
3
+ver = av.__version__.split(".")
4
+if int(ver[0]) < 14:
5
+ raise Exception("INSTALL NEW VERSION OF PYAV TO USE API NODES.")
6
7
+if int(ver[0]) == 14 and int(ver[1]) < 2:
8
9
10
+NODE_CLASS_MAPPINGS = {}
nodes.py
@@ -2289,6 +2289,9 @@ def init_builtin_api_nodes():
2289
"nodes_pika.py",
2290
]
2291
2292
+ if not load_custom_node(os.path.join(api_nodes_dir, "canary.py"), module_parent="comfy_api_nodes"):
2293
+ return api_nodes_files
2294
2295
import_failed = []
2296
for node_file in api_nodes_files:
2297
if not load_custom_node(os.path.join(api_nodes_dir, node_file), module_parent="comfy_api_nodes"):
0 commit comments