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

Release/2.15.0 #71

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common
4 changes: 2 additions & 2 deletions riva/client/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def synthesize(
if audio_prompt_file is not None:
with wave.open(str(audio_prompt_file), 'rb') as wf:
rate = wf.getframerate()
req.zero_shot_data.sample_rate = rate
req.zero_shot_data.sample_rate_hz = rate
with audio_prompt_file.open('rb') as wav_f:
audio_data = wav_f.read()
req.zero_shot_data.audio_prompt = audio_data
Expand Down Expand Up @@ -131,7 +131,7 @@ def synthesize_online(
if audio_prompt_file is not None:
with wave.open(str(audio_prompt_file), 'rb') as wf:
rate = wf.getframerate()
req.zero_shot_data.sample_rate = rate
req.zero_shot_data.sample_rate_hz = rate
with audio_prompt_file.open('rb') as wav_f:
audio_data = wav_f.read()
req.zero_shot_data.audio_prompt = audio_data
Expand Down
359 changes: 0 additions & 359 deletions scripts/nlp/eval_intent_slot.py

This file was deleted.

Loading