Spaces:
Running
Running
Update src/generate_batch.py
Browse files- src/generate_batch.py +1 -1
src/generate_batch.py
CHANGED
@@ -4,7 +4,7 @@ import numpy as np
|
|
4 |
import random
|
5 |
import scipy.io as scio
|
6 |
import src.utils.audio as audio
|
7 |
-
import subprocess
|
8 |
|
9 |
def crop_pad_audio(wav, audio_length):
|
10 |
if len(wav) > audio_length:
|
|
|
4 |
import random
|
5 |
import scipy.io as scio
|
6 |
import src.utils.audio as audio
|
7 |
+
import subprocess, platform
|
8 |
|
9 |
def crop_pad_audio(wav, audio_length):
|
10 |
if len(wav) > audio_length:
|