Spaces:
Runtime error
Runtime error
Update finetune_xtts_hf.py
Browse files- finetune_xtts_hf.py +7 -0
finetune_xtts_hf.py
CHANGED
|
@@ -30,6 +30,13 @@ os.chmod("/tmp/xtts_model", 0o777)
|
|
| 30 |
os.makedirs("/tmp/xtts_model/.huggingface", exist_ok=True)
|
| 31 |
os.chmod("/tmp/xtts_model/.huggingface", 0o777)
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
# Contin煤a con tu l贸gica, usando las nuevas rutas de manera consistent
|
| 34 |
|
| 35 |
# 馃敡 Forzar descarga sin symlinks ni hf_transfer
|
|
|
|
| 30 |
os.makedirs("/tmp/xtts_model/.huggingface", exist_ok=True)
|
| 31 |
os.chmod("/tmp/xtts_model/.huggingface", 0o777)
|
| 32 |
|
| 33 |
+
os.makedirs(OUTPUT_PATH, exist_ok=True)
|
| 34 |
+
os.chmod(OUTPUT_PATH, 0o777)
|
| 35 |
+
|
| 36 |
+
# Soluci贸n matplotlib
|
| 37 |
+
os.environ["MPLCONFIGDIR"] = "/tmp/matplotlib"
|
| 38 |
+
os.makedirs("/tmp/matplotlib", exist_ok=True)
|
| 39 |
+
|
| 40 |
# Contin煤a con tu l贸gica, usando las nuevas rutas de manera consistent
|
| 41 |
|
| 42 |
# 馃敡 Forzar descarga sin symlinks ni hf_transfer
|