Spaces:
Sleeping
Sleeping
Update coqui.py
Browse files
coqui.py
CHANGED
@@ -58,10 +58,11 @@ model = Xtts.init_from_config(config)
|
|
58 |
checkpoint_path = os.path.join(model_path, "model.pth")
|
59 |
vocab_path = os.path.join(model_path, "vocab.json")
|
60 |
|
|
|
61 |
if not os.path.exists(checkpoint_path):
|
62 |
-
|
63 |
if not os.path.exists(vocab_path):
|
64 |
-
|
65 |
|
66 |
model.load_checkpoint(
|
67 |
config,
|
|
|
58 |
checkpoint_path = os.path.join(model_path, "model.pth")
|
59 |
vocab_path = os.path.join(model_path, "vocab.json")
|
60 |
|
61 |
+
print("config : ",config)
|
62 |
if not os.path.exists(checkpoint_path):
|
63 |
+
print(f"Checkpoint file not found at {checkpoint_path}")
|
64 |
if not os.path.exists(vocab_path):
|
65 |
+
print(f"Vocab file not found at {vocab_path}")
|
66 |
|
67 |
model.load_checkpoint(
|
68 |
config,
|