sob111 commited on
Commit
5f1a864
·
verified ·
1 Parent(s): 52372e6

Update finetune_xtts_hf.py

Browse files
Files changed (1) hide show
  1. 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("./voxpopuli_es_500", exist_ok=True)
23
- meta_file = "./voxpopuli_es_500/metadata.json"
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: