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 'sample_random_speaker' #8

Open
whmc76 opened this issue Jun 20, 2024 · 3 comments
Open

Comments

@whmc76
Copy link

whmc76 commented Jun 20, 2024

!!! Exception during processing!!! 'Chat' object has no attribute 'sample_random_speaker'
Traceback (most recent call last):
File "E:\VIDEO\ComfyUI_VideoSounds\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\VIDEO\ComfyUI_VideoSounds\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\VIDEO\ComfyUI_VideoSounds\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\VIDEO\ComfyUI_VideoSounds\ComfyUI\custom_nodes\ComfyUI-ChatTTS\nodes.py", line 99, in tts
self.rand_spk = self.chat.sample_random_speaker()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Chat' object has no attribute 'sample_random_speaker'

@vanche1212
Copy link

same problem

@zhenyuanzhou
Copy link

uninstall Chattts package will solve the problem

@whmc76
Copy link
Author

whmc76 commented Jul 3, 2024

uninstall Chattts package will solve the problem

感谢

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

3 participants