Skip to content

Commit 55ff70e

Browse files
committed
again, pre-commit.ci sucks
1 parent a5a1b89 commit 55ff70e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

matcha/utils/data/mcspeech.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ def get_args():
4646
default=False,
4747
help="Skip resampling the data (from 44.1 to 22.05)",
4848
)
49-
parser.add_argument("output_dir", type=str, nargs='?', default="data/mcspeech", help="Place to store the converted data")
49+
parser.add_argument(
50+
"output_dir",
51+
type=str, nargs='?',
52+
default="data/mcspeech",
53+
help="Place to store the converted data"
54+
)
5055

5156
return parser.parse_args()
5257

@@ -55,7 +60,7 @@ def process_tsv(infile, outpath: Path):
5560
with (
5661
open(infile, encoding="utf-8") as inf,
5762
open(outpath / "train.tsv", "w", encoding="utf-8") as tf,
58-
open(outpath / "valid.tsv", "w", encoding="utf-8") as vf
63+
open(outpath / "valid.tsv", "w", encoding="utf-8") as vf,
5964
):
6065
for line in inf.readlines():
6166
line = line.strip()

0 commit comments

Comments
 (0)