Spaces:
Runtime error
Runtime error
Commit
·
817b5d9
1
Parent(s):
8ca22db
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -168,7 +168,7 @@ def main():
|
|
168 |
sf.write(wav_io, wave.T, sr,format='WAV')
|
169 |
wav_io.seek(0)
|
170 |
song=AudioSegment.from_wav(wav_io)
|
171 |
-
song.export('{}Instruments.
|
172 |
|
173 |
#print('inverse stft of vocals...', end=' ')
|
174 |
#wave = spec_utils.spectrogram_to_wave(v_spec, hop_length=args.hop_length)
|
|
|
168 |
sf.write(wav_io, wave.T, sr,format='WAV')
|
169 |
wav_io.seek(0)
|
170 |
song=AudioSegment.from_wav(wav_io)
|
171 |
+
song.export('{}Instruments.mp3'.format(output_dir),format='mp3')
|
172 |
|
173 |
#print('inverse stft of vocals...', end=' ')
|
174 |
#wave = spec_utils.spectrogram_to_wave(v_spec, hop_length=args.hop_length)
|