Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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)
|