khalida1wwin
commited on
Commit
·
6ce5a25
1
Parent(s):
ef185d6
Add new files
Browse files
app.py
CHANGED
@@ -191,7 +191,7 @@ audio_output_prediction, sample_rate, min_duration, frame_length, hop_length_fra
|
|
191 |
|
192 |
def denoise_audio(audioName):
|
193 |
testNo = audioName
|
194 |
-
audio_dir_prediction = "/content/drive/MyDrive/projects/resume projects/denoising2/prod/"+testNo +".wav"
|
195 |
sample_rate, data = wavfile.read(audio_dir_prediction)
|
196 |
len_data = len(data) # holds length of the numpy array
|
197 |
|
|
|
191 |
|
192 |
def denoise_audio(audioName):
|
193 |
testNo = audioName
|
194 |
+
audio_dir_prediction = "/content/drive/MyDrive/projects/resume projects/denoising2/prod/"+ str(testNo[0]) +".wav"
|
195 |
sample_rate, data = wavfile.read(audio_dir_prediction)
|
196 |
len_data = len(data) # holds length of the numpy array
|
197 |
|