Spaces:
Runtime error
Runtime error
Update finetune_xtts_hf.py
Browse files- finetune_xtts_hf.py +6 -3
finetune_xtts_hf.py
CHANGED
|
@@ -137,12 +137,15 @@ config_dataset = BaseDatasetConfig(
|
|
| 137 |
path="/tmp/dataset/voxpopuli_es_500_vctk",
|
| 138 |
language="es",
|
| 139 |
)
|
| 140 |
-
if os.path.exists("/tmp/dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
print("/tmp/dataset/voxpopuli_es_500_vctk encontrado")
|
| 142 |
if os.path.exists("/tmp/dataset/voxpopuli_es_500_vctk/wav48"):
|
| 143 |
print("/tmp/dataset/voxpopuli_es_500_vctk/wav48 encontrado")
|
| 144 |
-
|
| 145 |
-
print("/tmp/dataset/voxpopuli_es_500_vctk/wav48 no encontrado")
|
| 146 |
train_samples, eval_samples = load_tts_samples(
|
| 147 |
"/tmp/dataset/voxpopuli_es_500_vctk","vctk"
|
| 148 |
)
|
|
|
|
| 137 |
path="/tmp/dataset/voxpopuli_es_500_vctk",
|
| 138 |
language="es",
|
| 139 |
)
|
| 140 |
+
if os.path.exists("/tmp/dataset"):
|
| 141 |
+
print("/tmp/dataset encontrado")
|
| 142 |
+
if os.path.exists("/tmp/dataset/wav48"):
|
| 143 |
+
print("/tmp/dataset/wav48 encontrado")
|
| 144 |
+
if os.path.exists("/tmp/dataset/voxpopuli_es_500_vctk"):
|
| 145 |
print("/tmp/dataset/voxpopuli_es_500_vctk encontrado")
|
| 146 |
if os.path.exists("/tmp/dataset/voxpopuli_es_500_vctk/wav48"):
|
| 147 |
print("/tmp/dataset/voxpopuli_es_500_vctk/wav48 encontrado")
|
| 148 |
+
|
|
|
|
| 149 |
train_samples, eval_samples = load_tts_samples(
|
| 150 |
"/tmp/dataset/voxpopuli_es_500_vctk","vctk"
|
| 151 |
)
|