init
Browse files- download_audio.py +1 -0
download_audio.py
CHANGED
@@ -123,6 +123,7 @@ def get_audio(dataframe: pd.DataFrame):
|
|
123 |
try:
|
124 |
print(f"LOAD AUDIO FROM {features[f'{side}.path']}")
|
125 |
wav, sr = sf.read(features[f"{side}.path"])
|
|
|
126 |
if wav.ndim > 1:
|
127 |
wav = wav[:, 0]
|
128 |
if sr != sampling_rate:
|
|
|
123 |
try:
|
124 |
print(f"LOAD AUDIO FROM {features[f'{side}.path']}")
|
125 |
wav, sr = sf.read(features[f"{side}.path"])
|
126 |
+
print(f"wav shape:{wav.shape}")
|
127 |
if wav.ndim > 1:
|
128 |
wav = wav[:, 0]
|
129 |
if sr != sampling_rate:
|