Plachta commited on
Commit
1fa04be
1 Parent(s): 10b019c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def infer(text_raw, character, language, duration, noise_scale, noise_scale_w):
125
  sid = torch.LongTensor([0])
126
  audio = net_g.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w, length_scale=duration)[0][0,0].data.float().numpy()
127
  currentDateAndTime = datetime.now()
128
- print(f"Character {character} inference successful: {text}\n")
129
  if language != '日本語':
130
  print(f"translate from {language}: {text_raw}")
131
  show_memory_info(str(currentDateAndTime) + " infer调用后")
 
125
  sid = torch.LongTensor([0])
126
  audio = net_g.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w, length_scale=duration)[0][0,0].data.float().numpy()
127
  currentDateAndTime = datetime.now()
128
+ print(f"\nCharacter {character} inference successful: {text}")
129
  if language != '日本語':
130
  print(f"translate from {language}: {text_raw}")
131
  show_memory_info(str(currentDateAndTime) + " infer调用后")