2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
30.45k stars 3.31k forks source link

'tools.logger' model not found #515

Open Mrjackzxc opened 2 months ago

Mrjackzxc commented 2 months ago

i get error "ModuleNotFoundError: No module named 'tools.logger'" when i run example.ipynb ,how can i get 'tools.logger' model ?

fumiama commented 2 months ago

Check your root dir. If you can, please put your notebook output to let us know the detail.

ahmedoubadi commented 1 week ago

same problem: File "D:\projects\ai-agents\ChatTTS\examples\cmd\run.py", line 10, in from tools.logger import get_logger ModuleNotFoundError: No module named 'tools.logger'

fumiama commented 6 days ago

same problem: File "D:\projects\ai-agents\ChatTTS\examples\cmd\run.py", line 10, in from tools.logger import get_logger ModuleNotFoundError: No module named 'tools.logger'

replace

from tools.logger import get_logger

with

from ChatTTS.tools.logger import get_logger

and use the latest dev branch according to #603