Skip to content

Commit eaad6fd

Browse files
Release/2.15.0 (#71)
* fix(tts): Added zero shot parameters to talk.py (#69) * Remove deprecated NLP client examples (#70) * Remove deprecated NLP client examples * update SHA of common repo --------- Co-authored-by: Anurag <[email protected]>
1 parent e1145b8 commit eaad6fd

File tree

9 files changed

+12
-622
lines changed

9 files changed

+12
-622
lines changed

riva/client/tts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def synthesize(
7474
if audio_prompt_file is not None:
7575
with wave.open(str(audio_prompt_file), 'rb') as wf:
7676
rate = wf.getframerate()
77-
req.zero_shot_data.sample_rate = rate
77+
req.zero_shot_data.sample_rate_hz = rate
7878
with audio_prompt_file.open('rb') as wav_f:
7979
audio_data = wav_f.read()
8080
req.zero_shot_data.audio_prompt = audio_data
@@ -131,7 +131,7 @@ def synthesize_online(
131131
if audio_prompt_file is not None:
132132
with wave.open(str(audio_prompt_file), 'rb') as wf:
133133
rate = wf.getframerate()
134-
req.zero_shot_data.sample_rate = rate
134+
req.zero_shot_data.sample_rate_hz = rate
135135
with audio_prompt_file.open('rb') as wav_f:
136136
audio_data = wav_f.read()
137137
req.zero_shot_data.audio_prompt = audio_data

scripts/nlp/eval_intent_slot.py

Lines changed: 0 additions & 359 deletions
This file was deleted.

0 commit comments

Comments
 (0)