mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 23:48:48 +08:00
恢复流式生成、修正TTS的bug
This commit is contained in:
parent
f44f7968a4
commit
ed3abd5fd5
1
0 一键启动脚本/.gitignore
vendored
Normal file
1
0 一键启动脚本/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
Cfg/
|
@ -650,9 +650,12 @@ class TTS:
|
||||
else:
|
||||
audio = [item for batch in audio for item in batch]
|
||||
|
||||
|
||||
audio = np.concatenate(audio, 0)
|
||||
audio = (audio * 32768).astype(np.int16)
|
||||
if type(audio) == list:
|
||||
audio = np.array(audio)
|
||||
audio = (audio * 32768).astype(np.int16)
|
||||
else:
|
||||
audio = np.concatenate(audio, 0)
|
||||
audio = (audio * 32768).astype(np.int16)
|
||||
|
||||
try:
|
||||
if speed_factor != 1.0:
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 0800287fc279b7568c6948d742fac78280ddb0dd
|
||||
Subproject commit 39118a4e07c66690e33be6ec8a90652b7dd2a432
|
Loading…
x
Reference in New Issue
Block a user