Spaces:
Running on Zero
Running on Zero
Add Wav2Vec2Model re-export in audio_features
Browse files
dataloaders/utils/audio_features.py
CHANGED
|
@@ -13,6 +13,9 @@ from typing import Optional, Tuple
|
|
| 13 |
from numpy.lib import stride_tricks
|
| 14 |
from loguru import logger
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
def process_audio_data(audio_file, args, data, f_name, selected_file):
|
|
|
|
| 13 |
from numpy.lib import stride_tricks
|
| 14 |
from loguru import logger
|
| 15 |
|
| 16 |
+
# Re-export Wav2Vec2Model for other modules
|
| 17 |
+
from models.utils.wav2vec import Wav2Vec2Model
|
| 18 |
+
|
| 19 |
|
| 20 |
|
| 21 |
def process_audio_data(audio_file, args, data, f_name, selected_file):
|