From b5c66dcc102758645c9a3be7986ad6c8c28a3f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2=E8=A1=80=E7=90=83AE3803?= <2544390577@qq.com> Date: Mon, 29 Jan 2024 13:04:10 +0900 Subject: [PATCH 1/3] Delete gweight.txt --- gweight.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 gweight.txt diff --git a/gweight.txt b/gweight.txt deleted file mode 100644 index 6a330d58..00000000 --- a/gweight.txt +++ /dev/null @@ -1 +0,0 @@ -GPT_weights/na_xi_da-e50.ckpt \ No newline at end of file From 3fa12a0ad93334d778b8845153ee02b2f46afa56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2=E8=A1=80=E7=90=83AE3803?= <2544390577@qq.com> Date: Mon, 29 Jan 2024 13:04:20 +0900 Subject: [PATCH 2/3] Delete sweight.txt --- sweight.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sweight.txt diff --git a/sweight.txt b/sweight.txt deleted file mode 100644 index 3765f316..00000000 --- a/sweight.txt +++ /dev/null @@ -1 +0,0 @@ -SoVITS_weights/na_xi_da_e20_s2020.pth \ No newline at end of file From f37586f2d7fa19d76594c76f439412c5aa5ef76e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2=E8=A1=80=E7=90=83AE3803?= <2544390577@qq.com> Date: Mon, 29 Jan 2024 13:04:31 +0900 Subject: [PATCH 3/3] Delete test.py --- test.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 test.py diff --git a/test.py b/test.py deleted file mode 100644 index 7ad88214..00000000 --- a/test.py +++ /dev/null @@ -1,17 +0,0 @@ -import re - -def add_period(text): - if not re.search(r'[^\w\s]', text[-1]): - text += '。' - return text - -def cut5(inp): - inp = add_period(inp) - inp = inp.strip("\n") - punds = r'[、,。?!;:]' - items = re.split(f'({punds})', inp) - items = ["".join(group) for group in zip(items[::2], items[1::2])] - opt = "\n".join(items) - return opt - -print(cut5("测试")) \ No newline at end of file