khalida1wwin
commited on
Commit
·
d7d8acc
1
Parent(s):
a5cddb7
update app.py
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 = os.path.abspath("/")+ str(testNo
|
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 = os.path.abspath("/")+ str(testNo) +".wav"
|
195 |
sample_rate, data = wavfile.read(audio_dir_prediction)
|
196 |
len_data = len(data) # holds length of the numpy array
|
197 |
|