From f70f0b0e01098840b0471ee498b1890e5fbb5468 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 26 Dec 2024 10:35:44 +0800 Subject: [PATCH] bugfix --- conf/config.json | 5 ++++- conf/speakers.json | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/conf/config.json b/conf/config.json index 44f0626..1b7808c 100644 --- a/conf/config.json +++ b/conf/config.json @@ -2,7 +2,10 @@ "speaker_match":"\\[\\[(\\w+)\\]\\]", "language":{ "zh":{ - "sentence_splitter":"[\n。?!\n]" + "sentence_splitter":"[。?!]|\r?\n" + }, + "en":{ + "sentence_splitter":"[.?!] |\r?\n" } }, "sample_rate":16000, diff --git a/conf/speakers.json b/conf/speakers.json index 7e21029..b2ef530 100644 --- a/conf/speakers.json +++ b/conf/speakers.json @@ -22,5 +22,17 @@ "\u8463\u6d01": { "ref_text": "\u53e6\u5916\u9700\u8981\u7533\u8bf7\u7684\u8001\u5e08\u8bf7\u53ca\u65f6\u63d0\u4ea4\u76d6\u7ae0\u7533\u8bf7\u8868\uff0c\u8c22\u8c22\u5927\u5bb6\u3002", "ref_audio": "/data/f5tts/files/106/47/138/48/record.wav" + }, + "\u6b4c\u5531\u8005": { + "ref_text": "\u4eca\u591c\u770b\u5230\u6708\u4eae\u5706\u5706\uff0c\u4eca\u591c\u7275\u7740\u7ec6\u624b\u4edf\u4edf\u3002", + "ref_audio": "/data/f5tts/files/32/41/191/74/record.wav" + }, + "\u8bf4\u5531": { + "ref_text": "\u6765\u7535\u7eaf\u6b63\u7684\u5473\u513f\r\n\u4e00\u4e5d\u516d\u516d\u5ea7\u5934\u5e02\r\n\u5076\u5c14\u4e5f\u6709\u574f\u4e60\u60ef\r\n\u6211\u7231\u62ff\u751f\u547d\u505a\u6295\u63b7\r\n\u6f2b\u6b65\u5728\u5915\u9633\u4e4b\u4e0b\r\n\u6211\u5438\u6536\u65e5\u6708\u7cbe\u6c14", + "ref_audio": "/data/f5tts/files/166/46/120/67/record.wav" + }, + "\u56db\u5ddd\u4eba": { + "ref_text": "\u4f60\u574f\u4e8b\u505a\u5c3d\uff0c\u4f60\u4e27\u5c3d\u5929\u826f\uff0c\u5c31\u50cf\u8fd9\u505a\u6210\u7684\u6728\u684c\uff0c\u51e0\u65f6\u8fd8\u80fd\u82b1\u5f00\u8428", + "ref_audio": "/data/f5tts/files/159/165/38/57/record.wav" } } \ No newline at end of file