The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
chore(api-nodes): remove check for pyav>=14.2 in code (it was added to requirements.txt long ago) (#11934)
Alexander Piskunf7ca41ff6226
diff --git a/comfy_api_nodes/canary.py b/comfy_api_nodes/canary.pydeleted file mode 100644index 4df7590b6..000000000--- a/comfy_api_nodes/canary.py+++ /dev/null@@ -1,10 +0,0 @@-import av--ver = av.__version__.split(".")-if int(ver[0]) < 14:- raise Exception("INSTALL NEW VERSION OF PYAV TO USE API NODES.")--if int(ver[0]) == 14 and int(ver[1]) < 2:- raise Exception("INSTALL NEW VERSION OF PYAV TO USE API NODES.")--NODE_CLASS_MAPPINGS = {}diff --git a/nodes.py b/nodes.pyindex f19d5fd1c..8b5279b36 100644--- a/nodes.py+++ b/nodes.py@@ -2409,9 +2409,6 @@ async def init_builtin_api_nodes():"nodes_wan.py",]- if not await load_custom_node(os.path.join(api_nodes_dir, "canary.py"), module_parent="comfy_api_nodes"):- return api_nodes_files-import_failed = []for node_file in api_nodes_files:if not await load_custom_node(os.path.join(api_nodes_dir, node_file), module_parent="comfy_api_nodes"):