[2noise/ChatTTS]huggingface_hub.utils._errors.LocalEntryNotFoundError:

2024-06-12 349 views
4
报错步骤

安装requirements.txt环境后运行webui.py出现,配置环境有教程吗 image huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.

环境:

Ubuntu 22.04.3 LTS RTX 4090D Python 3.10.8 torch 2.1.2+cu121 torchaudio 2.1.2 torchvision 0.16.2+cu121

回答

8

requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/2Noise/ChatTTS/revision/main (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fae6c729690>, 'Connection to huggingface.co timed out. (connect timeout=None)'))"), '(Request ID: dedf7ad6-f7cf-4dc0-b688-66a2e7a96270)')

0

webUI 加入,解决了args.local_path = "~/.cache/modelscope/hub/pzc163/chatTTS"