Plachta commited on
Commit
ee8b629
1 Parent(s): 19a8f04

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
  audio = net_g.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w,
126
  length_scale=duration)[0][0, 0].data.cpu().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
  audio = net_g.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w,
126
  length_scale=duration)[0][0, 0].data.cpu().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调用后")