Skip to content

Commit

Permalink
Fix an invalid link in get_data.py of ljspeech (#6456)
Browse files Browse the repository at this point in the history
Usage of the link in line 63 leads to downloading a html file not a tsv file, so we need to change it to a raw link.

Signed-off-by: Mostafa Ghorbandoost <mos.ghorbandoost@gmail.com>
  • Loading branch information
pythinker authored and yaoyu-33 committed May 26, 2023
1 parent 543cf55 commit 1d8ffac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dataset_processing/tts/ljspeech/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __extract_file(filepath, data_dir):
def __process_data(data_root, whitelist_path):
if whitelist_path is None:
wget.download(
"https://github.com/NVIDIA/NeMo-text-processing/blob/main/nemo_text_processing/text_normalization/en/data/whitelist/lj_speech.tsv",
"https://raw.githubusercontent.com/NVIDIA/NeMo-text-processing/main/nemo_text_processing/text_normalization/en/data/whitelist/lj_speech.tsv",
out=str(data_root),
)
whitelist_path = data_root / "lj_speech.tsv"
Expand Down

0 comments on commit 1d8ffac

Please sign in to comment.