Spaces:
Runtime error
Runtime error
Update finetune_xtts_hf.py
Browse files- finetune_xtts_hf.py +2 -2
finetune_xtts_hf.py
CHANGED
|
@@ -19,8 +19,8 @@ print("=== Descargando dataset sob111/voxpopuli_es_500 ===")
|
|
| 19 |
ds = load_dataset("sob111/voxpopuli_es_500", split="train", token=HF_TOKEN)
|
| 20 |
|
| 21 |
# Guardar metadata.json en el formato esperado por Coqui TTS
|
| 22 |
-
os.makedirs("
|
| 23 |
-
meta_file = "
|
| 24 |
|
| 25 |
with open(meta_file, "w", encoding="utf-8") as f:
|
| 26 |
for sample in ds:
|
|
|
|
| 19 |
ds = load_dataset("sob111/voxpopuli_es_500", split="train", token=HF_TOKEN)
|
| 20 |
|
| 21 |
# Guardar metadata.json en el formato esperado por Coqui TTS
|
| 22 |
+
os.makedirs("/TMP/voxpopuli_es_500", exist_ok=True)
|
| 23 |
+
meta_file = "/TMP/voxpopuli_es_500/metadata.json"
|
| 24 |
|
| 25 |
with open(meta_file, "w", encoding="utf-8") as f:
|
| 26 |
for sample in ds:
|