khalida1wwin
commited on
Commit
·
e5ca9cd
1
Parent(s):
af4765f
update app.py
Browse files
app.py
CHANGED
@@ -195,7 +195,8 @@ def denoise_audio(audioName):
|
|
195 |
# audio_dir_prediction = os.path.abspath("/")+ str(testNo) +".wav"
|
196 |
sample_rate, data = audioName[0], audioName[1]
|
197 |
len_data = len(data) # holds length of the numpy array
|
198 |
-
|
|
|
199 |
|
200 |
t = len_data / sample_rate # returns duration but in floats
|
201 |
print("t:",t)
|
|
|
195 |
# audio_dir_prediction = os.path.abspath("/")+ str(testNo) +".wav"
|
196 |
sample_rate, data = audioName[0], audioName[1]
|
197 |
len_data = len(data) # holds length of the numpy array
|
198 |
+
print("typppppeeeeee:",type(data))
|
199 |
+
print(data)
|
200 |
|
201 |
t = len_data / sample_rate # returns duration but in floats
|
202 |
print("t:",t)
|