vinthony commited on
Commit
894164c
1 Parent(s): f482b99

Update src/generate_batch.py

Browse files
Files changed (1) hide show
  1. 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: