From 64fc74eee6945aa7b042d5f871711d384a2649e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tuna2134=40=E3=82=B3=E3=83=9E=E3=83=AA=E3=83=B3=E8=A6=AA?= =?UTF-8?q?=E8=A1=9B=E9=9A=8A?= Date: Sat, 29 Mar 2025 10:58:24 +0900 Subject: [PATCH] fix: bug --- crates/sbv2_core/src/tts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sbv2_core/src/tts.rs b/crates/sbv2_core/src/tts.rs index 4ec9fae..56b3bf5 100644 --- a/crates/sbv2_core/src/tts.rs +++ b/crates/sbv2_core/src/tts.rs @@ -383,7 +383,7 @@ impl TTSModelHolder { if t.is_empty() { continue; } - let (bert_ori, phones, tones, lang_ids) = self.parse_text_neo(t, given_tones)?; + let (bert_ori, phones, tones, lang_ids) = self.parse_text_neo(t.to_string(), given_tones)?; let vits2 = self .find_model(ident)?