hexgrad commited on
Commit
b9e1a6e
·
verified ·
1 Parent(s): faf4f74

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -629,7 +629,7 @@ def lf_generate(segments, voice, speed=1, trim=0, pad_between=0, use_gpu=True, s
629
  while i < len(token_lists):
630
  bs = batch_sizes.pop() if batch_sizes else 100
631
  tokens = token_lists[i:i+bs]
632
- print('📖', datetime.now(), len(tokens), voices, use_gpu, segments['Text'][i:i+bs])
633
  try:
634
  if use_gpu:
635
  outs = lf_forward_gpu(tokens, voices, speed, sk)
 
629
  while i < len(token_lists):
630
  bs = batch_sizes.pop() if batch_sizes else 100
631
  tokens = token_lists[i:i+bs]
632
+ print('📖', datetime.now(), len(tokens), voices, use_gpu, ''.join(segments['Text'][i:i+bs]).replace('\n', ' '))
633
  try:
634
  if use_gpu:
635
  outs = lf_forward_gpu(tokens, voices, speed, sk)