ExponentialML / ComfyUI_ModelScopeT2V

Allows native usage of ModelScope based Text To Video Models in ComfyUI
Apache License 2.0
26 stars 4 forks source link

ModelScopeT2V not using the extra_model_paths.yaml settings #2

Open mike-rowley opened 7 months ago

mike-rowley commented 7 months ago

ModelScopeT2V doesn't seem to be respecting the extra_model_paths.yaml settings in ComfyUI. I have tried changing my base_path and adding text2video with the correct path and I get the following error when loading ComfyUI:

[ERROR] An error occurred while retrieving information for the 'ModelScopeT2VLoader' node.
Traceback (most recent call last):
  File "D:\ComfyUI\ComfyUI\server.py", line 414, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "D:\ComfyUI\ComfyUI\server.py", line 392, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_ModelScopeT2V\nodes.py", line 186, in INPUT_TYPES
    "model_path": (os.listdir(model_dir_path), ),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\ComfyUI\\ComfyUI\\models\\text2video'

The D drive path is the physical path however all models are in M:\ as indicated in the extra_model_paths.yaml file.