Spaces:
Sleeping
Sleeping
File size: 289 Bytes
e88666e f2cac03 e88666e f2cac03 e88666e f2cac03 | 1 2 3 4 5 6 7 8 9 | import sys, os
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from config import TRAIN_AUDIO
from preprocessing.audio_preprocessing import preprocess_audio
sample_file = os.path.join(TRAIN_AUDIO, 'dia47_utt11.mp4')
audio = preprocess_audio(sample_file)
print(audio.shape) |