Jofthomas HF Staff commited on
Commit
94b6e1c
·
1 Parent(s): 7920a69

Update coqui.py

Browse files
Files changed (1) hide show
  1. coqui.py +3 -2
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
- raise FileNotFoundError(f"Checkpoint file not found at {checkpoint_path}")
63
  if not os.path.exists(vocab_path):
64
- raise FileNotFoundError(f"Vocab file not found at {vocab_path}")
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,