Spaces:
Running
on
A10G
Running
on
A10G
Update src/generate_batch.py
Browse files- src/generate_batch.py +1 -1
src/generate_batch.py
CHANGED
@@ -70,7 +70,7 @@ def get_data(first_coeff_path, audio_path, device):
|
|
70 |
else:
|
71 |
new_audio = audio_path
|
72 |
|
73 |
-
wav = audio.load_wav(
|
74 |
|
75 |
wav_length, num_frames = parse_audio_length(len(wav), 16000, 25)
|
76 |
wav = crop_pad_audio(wav, wav_length)
|
|
|
70 |
else:
|
71 |
new_audio = audio_path
|
72 |
|
73 |
+
wav = audio.load_wav(new_audio, 16000)
|
74 |
|
75 |
wav_length, num_frames = parse_audio_length(len(wav), 16000, 25)
|
76 |
wav = crop_pad_audio(wav, wav_length)
|