Spaces:
Runtime error
Runtime error
Update f5_tts/model/dataset.py
Browse files- f5_tts/model/dataset.py +0 -5
f5_tts/model/dataset.py
CHANGED
|
@@ -15,11 +15,6 @@ from tqdm import tqdm
|
|
| 15 |
from f5_tts.model.modules import MelSpec
|
| 16 |
from f5_tts.model.utils import default
|
| 17 |
|
| 18 |
-
from audiomentations import *
|
| 19 |
-
import warnings
|
| 20 |
-
warnings.filterwarnings("ignore", category=UserWarning, module="audiomentations")
|
| 21 |
-
|
| 22 |
-
|
| 23 |
def get_speaker_id(path):
|
| 24 |
parts = path.split('/')
|
| 25 |
speaker_id = parts[-3]
|
|
|
|
| 15 |
from f5_tts.model.modules import MelSpec
|
| 16 |
from f5_tts.model.utils import default
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
def get_speaker_id(path):
|
| 19 |
parts = path.split('/')
|
| 20 |
speaker_id = parts[-3]
|