mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-02 01:22:11 +08:00
11 lines
271 B
Python
11 lines
271 B
Python
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 = {}
|