-
Notifications
You must be signed in to change notification settings - Fork 437
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
add fastpitch service #776
Conversation
@@ -0,0 +1,143 @@ | |||
# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this should be checked in here, but it was the fastest way to get things working. open to figuring out other ways to get this.
cc3874f
to
9b458a2
Compare
9b458a2
to
16e47bb
Compare
for resp in responses: | ||
if self.sound_stream is not None: | ||
self.sound_stream(resp.audio) | ||
await self.stop_ttfb_metrics() | ||
|
||
frame = TTSAudioRawFrame( | ||
audio=resp.audio, | ||
sample_rate=self.sample_rate_hz, | ||
num_channels=self.nchannels, | ||
) | ||
yield frame |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to fix this to not use sound_stream
closing in favor of vp-nvidia-riva #795 |
Please describe the changes in your PR. If it is addressing an issue, please reference that as well.
rough draft PR adding nvidia fastpitch TTS support.