[ISSUE] ImportError: cannot import name 'AudioNormalizer' from partially initialized module 'modules.core.pipeline.factory' (most likely due to a circular import) (/data/chattts-forge/modules/core/pipeline/factory.py) #137
Aug 13 13:50:14 ai sh[3665897]: Traceback (most recent call last):
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/webui.py", line 27, in
Aug 13 13:50:14 ai sh[3665897]: from modules.api.api_setup import process_api_args, setup_api_args
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/api/api_setup.py", line 9, in
Aug 13 13:50:14 ai sh[3665897]: from modules.api.impl import (
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/api/impl/google_api.py", line 15, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.handler.SSMLHandler import SSMLHandler
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/handler/SSMLHandler.py", line 7, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.pipeline.factory import PipelineFactory
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/pipeline/factory.py", line 5, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.models.zoo.ModelZoo import model_zoo
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/models/zoo/init.py", line 2, in
Aug 13 13:50:14 ai sh[3665897]: from .ModelZoo import model_zoo
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/models/zoo/ModelZoo.py", line 7, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.models.tts.CosyVoiceModel import CosyVoiceTTSModel
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/models/tts/CosyVoiceModel.py", line 21, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.pipeline.factory import AudioNormalizer
Aug 13 13:50:14 ai sh[3665897]: ImportError: cannot import name 'AudioNormalizer' from partially initialized module 'modules.core.pipeline.factory' (most likely due to a circular import) (/data/chattts-forge/modules/core/pipeline/factory.py)
确认清单
你的issues
Aug 13 13:50:14 ai sh[3665897]: Traceback (most recent call last): Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/webui.py", line 27, in
Aug 13 13:50:14 ai sh[3665897]: from modules.api.api_setup import process_api_args, setup_api_args
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/api/api_setup.py", line 9, in
Aug 13 13:50:14 ai sh[3665897]: from modules.api.impl import (
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/api/impl/google_api.py", line 15, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.handler.SSMLHandler import SSMLHandler
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/handler/SSMLHandler.py", line 7, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.pipeline.factory import PipelineFactory
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/pipeline/factory.py", line 5, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.models.zoo.ModelZoo import model_zoo
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/models/zoo/init.py", line 2, in
Aug 13 13:50:14 ai sh[3665897]: from .ModelZoo import model_zoo
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/models/zoo/ModelZoo.py", line 7, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.models.tts.CosyVoiceModel import CosyVoiceTTSModel
Aug 13 13:50:14 ai sh[3665897]: File "/data/chattts-forge/modules/core/models/tts/CosyVoiceModel.py", line 21, in
Aug 13 13:50:14 ai sh[3665897]: from modules.core.pipeline.factory import AudioNormalizer
Aug 13 13:50:14 ai sh[3665897]: ImportError: cannot import name 'AudioNormalizer' from partially initialized module 'modules.core.pipeline.factory' (most likely due to a circular import) (/data/chattts-forge/modules/core/pipeline/factory.py)