Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for exception on streaming on last chunk - copied from coqui-ai/TTS#3160 #688

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

qtangs
Copy link
Contributor

@qtangs qtangs commented Nov 22, 2023

Reference: https://github.com/coqui-ai/TTS/pull/3160/files

Fix for this error:

in handle_chunks
 crossfade_wav = crossfade_wav * torch.linspace(0.0, 1.0, overlap_len).to(crossfade_wav.device)

RuntimeError: The size of tensor a (0) must match the size of tensor b (1024) at non-singleton dimension 0

@manmay-nakhashi manmay-nakhashi merged commit 1e061bc into neonbjb:main Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants