sob111 commited on
Commit
b7e87cc
verified
1 Parent(s): 8aac0c0

Update finetune_xtts_hf.py

Browse files
Files changed (1) hide show
  1. finetune_xtts_hf.py +4 -3
finetune_xtts_hf.py CHANGED
@@ -1,5 +1,9 @@
1
  import os
2
  import subprocess
 
 
 
 
3
  from huggingface_hub import HfApi, HfFolder, upload_folder, snapshot_download
4
 
5
  # === Configuraci贸n ===
@@ -9,9 +13,6 @@ DATASET_PATH = "/home/user/app/dataset" # Ruta a tu dataset
9
  OUTPUT_PATH = "/tmp/output_model"
10
  BASE_MODEL = "coqui/XTTS-v2"
11
 
12
- os.environ["HF_HUB_DISABLE_SYMLINKS_WARNING"] = "1"
13
- os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "0"
14
-
15
  os.makedirs("/tmp/xtts_cache", exist_ok=True)
16
  os.chmod("/tmp/xtts_cache", 0o777)
17
 
 
1
  import os
2
  import subprocess
3
+
4
+ os.environ["HF_HUB_DISABLE_SYMLINKS_WARNING"] = "1"
5
+ os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "0"
6
+
7
  from huggingface_hub import HfApi, HfFolder, upload_folder, snapshot_download
8
 
9
  # === Configuraci贸n ===
 
13
  OUTPUT_PATH = "/tmp/output_model"
14
  BASE_MODEL = "coqui/XTTS-v2"
15
 
 
 
 
16
  os.makedirs("/tmp/xtts_cache", exist_ok=True)
17
  os.chmod("/tmp/xtts_cache", 0o777)
18