Update short_audio_transcribe.py
Browse files
short_audio_transcribe.py
CHANGED
@@ -18,7 +18,7 @@ if __name__ == "__main__":
|
|
18 |
total_files = sum([len(files) for r, d, files in os.walk(parent_dir)])
|
19 |
# resample audios
|
20 |
# 2023/4/21: Get the target sampling rate
|
21 |
-
with open("./configs/
|
22 |
hps = json.load(f)
|
23 |
target_sr = hps['data']['sampling_rate']
|
24 |
processed_files = 0
|
|
|
18 |
total_files = sum([len(files) for r, d, files in os.walk(parent_dir)])
|
19 |
# resample audios
|
20 |
# 2023/4/21: Get the target sampling rate
|
21 |
+
with open("./configs/amitaro_jp_base.json", 'r', encoding='utf-8') as f:
|
22 |
hps = json.load(f)
|
23 |
target_sr = hps['data']['sampling_rate']
|
24 |
processed_files = 0
|