From 07a34c1a864cf9aebbba237907853cc7c5e88077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stardust=C2=B7=E5=87=8F?= <2225664821@qq.com> Date: Fri, 1 Sep 2023 10:34:57 +0800 Subject: [PATCH] Update and rename spec_gen.py to bert_gen.py --- spec_gen.py => bert_gen.py | 1 - 1 file changed, 1 deletion(-) rename spec_gen.py => bert_gen.py (96%) diff --git a/spec_gen.py b/bert_gen.py similarity index 96% rename from spec_gen.py rename to bert_gen.py index 80c18c8..cab5220 100644 --- a/spec_gen.py +++ b/bert_gen.py @@ -17,7 +17,6 @@ def process_line(line): phone = phones.split(" ") tone = [int(i) for i in tone.split(" ")] word2ph = [int(i) for i in word2ph.split(" ")] - # print(text, word2ph,phone, tone, language_str) w2pho = [i for i in word2ph] word2ph = [i for i in word2ph] phone, tone, language = cleaned_text_to_sequence(phone, tone, language_str)