Spaces:
Runtime error
Runtime error
fcyai
commited on
Commit
•
0b2e3c9
1
Parent(s):
47d7832
11
Browse files- tts_model.py +1 -0
tts_model.py
CHANGED
@@ -54,6 +54,7 @@ def generate_audio_for_seed(chat, seed, texts, batch_size, speed, refine_text_pr
|
|
54 |
top_P=DEFAULT_TOP_P, top_K=DEFAULT_TOP_K, cur_tqdm=None, skip_save=False,
|
55 |
skip_refine_text=False, speaker_type="seed", pt_file=None):
|
56 |
from utils import combine_audio, save_audio, batch_split
|
|
|
57 |
print(f"speaker_type: {speaker_type}")
|
58 |
if speaker_type == "seed":
|
59 |
if seed in [None, -1, 0, "", "random"]:
|
|
|
54 |
top_P=DEFAULT_TOP_P, top_K=DEFAULT_TOP_K, cur_tqdm=None, skip_save=False,
|
55 |
skip_refine_text=False, speaker_type="seed", pt_file=None):
|
56 |
from utils import combine_audio, save_audio, batch_split
|
57 |
+
print(f'generate_audio_for_seed,0, speaker_type:{speaker_type}')
|
58 |
print(f"speaker_type: {speaker_type}")
|
59 |
if speaker_type == "seed":
|
60 |
if seed in [None, -1, 0, "", "random"]:
|