khalida1wwin
commited on
Commit
·
2aba82b
1
Parent(s):
62d88ea
update app.py
Browse files
app.py
CHANGED
@@ -186,8 +186,8 @@ audio_output_prediction, sample_rate, min_duration, frame_length, hop_length_fra
|
|
186 |
#Save all frames in one file
|
187 |
denoise_long = audio_denoise_recons.reshape(1, nb_samples * frame_length)*10
|
188 |
# librosa.output.write_wav(dir_save_prediction + audio_output_prediction, denoise_long[0, :], sample_rate)
|
189 |
-
print(
|
190 |
-
sf.write(
|
191 |
|
192 |
def denoise_audio(audioName):
|
193 |
sr, data = audioName
|
|
|
186 |
#Save all frames in one file
|
187 |
denoise_long = audio_denoise_recons.reshape(1, nb_samples * frame_length)*10
|
188 |
# librosa.output.write_wav(dir_save_prediction + audio_output_prediction, denoise_long[0, :], sample_rate)
|
189 |
+
print(audio_output_prediction)
|
190 |
+
sf.write(audio_output_prediction , denoise_long[0, :], sample_rate)
|
191 |
|
192 |
def denoise_audio(audioName):
|
193 |
sr, data = audioName
|