From 024f93e36e7dd815525d974674587e1ba36cca80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Wed, 28 Aug 2024 22:52:40 +0800 Subject: [PATCH] fix(dl): from hf --- ChatTTS/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatTTS/core.py b/ChatTTS/core.py index 3606adff5..15099dded 100644 --- a/ChatTTS/core.py +++ b/ChatTTS/core.py @@ -97,7 +97,7 @@ def download_models( try: download_path = snapshot_download( repo_id="2Noise/ChatTTS", - allow_patterns=["*.pt", "*.yaml", "*.json"], + allow_patterns=["*.pt", "*.yaml", "*.json", "*.safetensors"], ) except: download_path = None