Update src/generate_batch.py
Browse files- src/generate_batch.py +1 -1
src/generate_batch.py
CHANGED
@@ -65,7 +65,7 @@ def get_data(first_coeff_path, audio_path, device):
|
|
65 |
|
66 |
if '.mp3' in audio_path:
|
67 |
new_audio = audio_path.replace('.mp3', '.wav')
|
68 |
-
command = 'ffmpeg -i '+ audio_path + '
|
69 |
subprocess.call(command, shell=platform.system() != 'Windows')
|
70 |
else:
|
71 |
new_audio = audio_path
|
|
|
65 |
|
66 |
if '.mp3' in audio_path:
|
67 |
new_audio = audio_path.replace('.mp3', '.wav')
|
68 |
+
command = 'ffmpeg -i '+ audio_path + ' ' + new_audio
|
69 |
subprocess.call(command, shell=platform.system() != 'Windows')
|
70 |
else:
|
71 |
new_audio = audio_path
|