Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Chat' object has no attribute 'load_models' #12

Open
haisheng666 opened this issue Jul 31, 2024 · 2 comments
Open

AttributeError: 'Chat' object has no attribute 'load_models' #12

haisheng666 opened this issue Jul 31, 2024 · 2 comments

Comments

@haisheng666
Copy link

Please answer quickly, otherwise the star rating will not be able to go up

!!! Exception during processing!!! 'Chat' object has no attribute 'load_models'

Traceback (most recent call last):
File "E:\ProgramFilesSingle\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ProgramFilesSingle\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ProgramFilesSingle\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ProgramFilesSingle\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-ChatTTS\nodes.py", line 94, in tts
self.chat.load_models(source="local",local_path=model_path,compile=False)
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Chat' object has no attribute 'load_models'

@quqiufeng
Copy link

而且 只支持中文

@haisheng666
Copy link
Author

而且 只支持中文

I don't understand what you are saying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants