helloWorld199 commited on
Commit
8b3f08b
1 Parent(s): 5a81c64

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +1 -0
src/main.py CHANGED
@@ -127,6 +127,7 @@ def convert_to_stereo(audio_path):
127
 
128
  # check if mono
129
  if type(wave[0]) != np.ndarray:
 
130
  stereo_path = f'{os.path.splitext(audio_path)[0]}_stereo.wav'
131
  command = shlex.split(f'ffmpeg -y -loglevel error -i "{audio_path}" -ac 2 -f wav "{stereo_path}"')
132
  subprocess.run(command)
 
127
 
128
  # check if mono
129
  if type(wave[0]) != np.ndarray:
130
+ print("QUI DENTRO STEREOOOOOOOOO!")
131
  stereo_path = f'{os.path.splitext(audio_path)[0]}_stereo.wav'
132
  command = shlex.split(f'ffmpeg -y -loglevel error -i "{audio_path}" -ac 2 -f wav "{stereo_path}"')
133
  subprocess.run(command)