Spaces:
Runtime error
Runtime error
Update finetune_xtts_hf.py
Browse files- finetune_xtts_hf.py +2 -2
finetune_xtts_hf.py
CHANGED
|
@@ -80,7 +80,7 @@ safe_destination = os.path.abspath(DATASET_PATH)
|
|
| 80 |
|
| 81 |
# Call the function
|
| 82 |
extract_zip(zip_file, safe_destination)
|
| 83 |
-
print("safe destination {safe_destination}")
|
| 84 |
|
| 85 |
# === 2. Editar configuración para tu dataset VoxPopuli ===
|
| 86 |
|
|
@@ -88,7 +88,7 @@ import json
|
|
| 88 |
|
| 89 |
# === Convertir metadata.json → metadata.csv ===
|
| 90 |
json_path = os.path.join(DATASET_PATH, "metadata.json")
|
| 91 |
-
print("ruta de json {json_path}")
|
| 92 |
csv_path = os.path.join(DATASET_PATH, "metadata.csv")
|
| 93 |
|
| 94 |
if os.path.exists(json_path):
|
|
|
|
| 80 |
|
| 81 |
# Call the function
|
| 82 |
extract_zip(zip_file, safe_destination)
|
| 83 |
+
print(f"safe destination {safe_destination}")
|
| 84 |
|
| 85 |
# === 2. Editar configuración para tu dataset VoxPopuli ===
|
| 86 |
|
|
|
|
| 88 |
|
| 89 |
# === Convertir metadata.json → metadata.csv ===
|
| 90 |
json_path = os.path.join(DATASET_PATH, "metadata.json")
|
| 91 |
+
print(f"ruta de json {json_path}")
|
| 92 |
csv_path = os.path.join(DATASET_PATH, "metadata.csv")
|
| 93 |
|
| 94 |
if os.path.exists(json_path):
|