Open ahkimkoo opened 3 weeks ago
少了一个文件导致的
modules/repos_static/fish_speech/tools/__init__.py
能提供一下其他的环境信息吗,比如 python 版本号 系统环境
因为这个问题,在 colab 和 我本地都没复现,虽然修复应该不麻烦
但是主要是涉及到的这部分代码是 repos_static
下面的模块,这部分代码都来自外部,都是第三方,我们是不太想去修改的,跟踪和合并都不方便
提供更多信息能帮助我们更完整的解决这个问题
确认清单
你的issues
Traceback (most recent call last): File "/root/autodl-tmp/ChatTTS-Forge/webui.py", line 27, in
from modules.api.api_setup import process_api_args, setup_api_args
File "/root/autodl-tmp/ChatTTS-Forge/modules/api/api_setup.py", line 9, in
from modules.api.impl import (
File "/root/autodl-tmp/ChatTTS-Forge/modules/api/impl/google_api.py", line 16, in
from modules.core.handler.SSMLHandler import SSMLHandler
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/handler/SSMLHandler.py", line 7, in
from modules.core.pipeline.factory import PipelineFactory
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/pipeline/factory.py", line 4, in
from modules.core.models.zoo.ModelZoo import model_zoo
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/models/zoo/init.py", line 2, in
from .ModelZoo import model_zoo
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/models/zoo/ModelZoo.py", line 17, in
from modules.core.models.tts.FishSpeechModel import FishSpeechModel
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/models/tts/FishSpeechModel.py", line 27, in
from modules.repos_static.fish_speech.tools.vqgan.inference import (
File "/root/autodl-tmp/ChatTTS-Forge/modules/repos_static/fish_speech/tools/vqgan/inference.py", line 13, in
from tools.file import AUDIO_EXTENSIONS
ModuleNotFoundError: No module named 'tools.file'