stephenhoang commited on
Commit
177e5d0
·
verified ·
1 Parent(s): d94a53e

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -295,7 +295,7 @@ class StyleTTS2(torch.nn.Module):
295
  tokens = torch.LongTensor(tokens).unsqueeze(0).to(device)
296
  import yaml
297
 
298
- config_path = "config.yaml" # <-- đổi thành path config bạn đang dùng
299
 
300
  with open(config_path, "r", encoding="utf-8") as f:
301
  cfg = yaml.safe_load(f)
 
295
  tokens = torch.LongTensor(tokens).unsqueeze(0).to(device)
296
  import yaml
297
 
298
+ config_path = "./Models/config.yaml" # <-- đổi thành path config bạn đang dùng
299
 
300
  with open(config_path, "r", encoding="utf-8") as f:
301
  cfg = yaml.safe_load(f)