Plachta commited on
Commit
8177515
1 Parent(s): a673a15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def infer(text_raw, character, language, duration, noise_scale, noise_scale_w):
99
  audio = net_g.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w,
100
  length_scale=duration)[0][0, 0].data.cpu().float().numpy()
101
  currentDateAndTime = datetime.now()
102
- print(f"inference successful: {text}\n")
103
  if language != '日本語':
104
  print(f"translate from {language}: {text_raw}")
105
  show_memory_info(str(currentDateAndTime) + " infer调用后")
 
99
  audio = net_g.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w,
100
  length_scale=duration)[0][0, 0].data.cpu().float().numpy()
101
  currentDateAndTime = datetime.now()
102
+ print(f"Character {character} inference successful: {text}\n")
103
  if language != '日本語':
104
  print(f"translate from {language}: {text_raw}")
105
  show_memory_info(str(currentDateAndTime) + " infer调用后")