Ailyth commited on
Commit
b31dbfa
1 Parent(s): 690cea1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def tts_generator(text, sdp_ratio, noise_scale, noise_scale_w, length_scale, mod
88
  global net_g,speakers
89
  model_path = models[model]
90
  net_g, _, _, _ = utils.load_checkpoint(model_path, net_g, None, skip_optimizer=True)
91
-
92
  try:
93
  with torch.no_grad():
94
  audio = infer(text, sdp_ratio=sdp_ratio, noise_scale=noise_scale, noise_scale_w=noise_scale_w, length_scale=length_scale, sid=speaker,model_dir=model)
 
88
  global net_g,speakers
89
  model_path = models[model]
90
  net_g, _, _, _ = utils.load_checkpoint(model_path, net_g, None, skip_optimizer=True)
91
+ print(text)
92
  try:
93
  with torch.no_grad():
94
  audio = infer(text, sdp_ratio=sdp_ratio, noise_scale=noise_scale, noise_scale_w=noise_scale_w, length_scale=length_scale, sid=speaker,model_dir=model)