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

启动python webui_mix.py 报一下错误如何处理呢? #101

Open
jbigdata opened this issue Dec 10, 2024 · 1 comment
Open

启动python webui_mix.py 报一下错误如何处理呢? #101

jbigdata opened this issue Dec 10, 2024 · 1 comment

Comments

@jbigdata
Copy link

Traceback (most recent call last):
File "/Users/liangwan/AImanager/tts/ChatTTS_colab/webui_mix.py", line 46, in
chat = load_chat_tts_model(source=args.source, local_path=args.local_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/liangwan/AImanager/tts/ChatTTS_colab/tts_model.py", line 25, in load_chat_tts_model
chat.load_models(source=source, force_redownload=force_redownload, custom_path=local_path, compile=False)
^^^^^^^^^^^^^^^^
AttributeError: 'Chat' object has no attribute 'load_models'. Did you mean: 'download_models'?
(chattts) liangwan@swdeMacBook-Pro ChatTTS_colab % python webui_mix.py
Loading ChatTTS model...
Traceback (most recent call last):
File "/Users/liangwan/AImanager/tts/ChatTTS_colab/webui_mix.py", line 46, in
chat = load_chat_tts_model(source=args.source, local_path=args.local_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/liangwan/AImanager/tts/ChatTTS_colab/tts_model.py", line 25, in load_chat_tts_model
chat.load_models(source=source, force_redownload=force_redownload, custom_path=local_path, compile=False)
^^^^^^^^^^^^^^^^
AttributeError: 'Chat' object has no attribute 'load_models'. Did you mean: 'download_models'?

@shichao-an
Copy link

shichao-an commented Feb 7, 2025

I realized this step didn't execute properly:

!git checkout -q e6412b1

Make sure the branch/commit of ChatTTS is switched to e6412b1

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