$ python3 webui.py
2024-10-26 12:00:41,449 - root - INFO - new registry table has been added: preprocessor_classes
2024-10-26 12:00:41,985 - root - INFO - new registry table has been added: adaptor_classes
2024-10-26 12:00:42,249 - root - INFO - new registry table has been added: lid_predictor_classes
2024-10-26 12:00:42,480 - datasets - INFO - PyTorch version 2.5.0 available.
Traceback (most recent call last):
File "/home/deepl/tts/Speech-AI-Forge/webui.py", line 27, in <module>
from modules.api.api_setup import process_api_args, setup_api_args
File "/home/deepl/tts/Speech-AI-Forge/modules/api/api_setup.py", line 9, in <module>
from modules.api.impl import (
File "/home/deepl/tts/Speech-AI-Forge/modules/api/impl/google_api.py", line 16, in <module>
from modules.core.handler.SSMLHandler import SSMLHandler
File "/home/deepl/tts/Speech-AI-Forge/modules/core/handler/SSMLHandler.py", line 7, in <module>
from modules.core.pipeline.factory import PipelineFactory
File "/home/deepl/tts/Speech-AI-Forge/modules/core/pipeline/factory.py", line 4, in <module>
from modules.core.models.zoo.ModelZoo import model_zoo
File "/home/deepl/tts/Speech-AI-Forge/modules/core/models/zoo/__init__.py", line 2, in <module>
from .ModelZoo import model_zoo
File "/home/deepl/tts/Speech-AI-Forge/modules/core/models/zoo/ModelZoo.py", line 16, in <module>
from modules.core.models.tts.FireRed.FireRedTTSModel import FireRedTTSModel
File "/home/deepl/tts/Speech-AI-Forge/modules/core/models/tts/FireRed/FireRedTTSModel.py", line 6, in <module>
from modules.core.models.tts.FireRed.FireRedInfer import (
File "/home/deepl/tts/Speech-AI-Forge/modules/core/models/tts/FireRed/FireRedInfer.py", line 12, in <module>
from modules.core.models.tts.FireRed.FRBepTokenizer import FRBepTokenizer
File "/home/deepl/tts/Speech-AI-Forge/modules/core/models/tts/FireRed/FRBepTokenizer.py", line 11, in <module>
from modules.repos_static.FireRedTTS.fireredtts.modules.tokenizer.whisper_tokenizer import (
File "/home/deepl/tts/Speech-AI-Forge/modules/repos_static/FireRedTTS/fireredtts/modules/__init__.py", line 5, in <module>
from fireredtts.modules.bigvgan import get_bigvgan_backend
File "/home/deepl/tts/Speech-AI-Forge/modules/repos_static/FireRedTTS/fireredtts/modules/__init__.py", line 6, in <module>
from fireredtts.modules.flow import MelSpectrogramExtractor, get_flow_frontend
File "/home/deepl/tts/Speech-AI-Forge/modules/repos_static/FireRedTTS/fireredtts/modules/flow/__init__.py", line 3, in <module>
from fireredtts.modules.flow.decoder import ConditionalCFM, ConditionalDecoder
File "/home/deepl/tts/Speech-AI-Forge/modules/repos_static/FireRedTTS/fireredtts/modules/flow/decoder.py", line 7, in <module>
from diffusers.models.activations import get_activation
File "/mnt/Dpan/conda/install/envs/ttsAI/lib/python3.10/site-packages/diffusers/__init__.py", line 5, in <module>
from .utils import (
File "/mnt/Dpan/conda/install/envs/ttsAI/lib/python3.10/site-packages/diffusers/utils/__init__.py", line 37, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/mnt/Dpan/conda/install/envs/ttsAI/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in <module>
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/mnt/Dpan/conda/install/envs/ttsAI/lib/python3.10/site-packages/huggingface_hub/__init__.py)
确认清单
Forge Commit 或者 Tag
44ccc49
Python 版本
3.10.15
PyTorch 版本
2.5.0
操作系统信息
ubuntu24.04 server LTS
浏览器信息
No response
BUG 描述
问题描述
解决方法:
安装旧版本:pip3 install huggingface_hub==0.24.7
看起来requirements.txt里面要加一下huggingface_hub的版本限制
复现步骤
简单安装完依赖后直接运行: pip install -r requirements.txt pip3 install diffusers
期望结果
正常运行,出现webui网址提示
实际结果
报错退出
错误信息