From f915192c5382155783a143db544cb47b0d38925b Mon Sep 17 00:00:00 2001 From: Anurag Tomer Date: Thu, 19 Feb 2026 15:36:37 +0530 Subject: [PATCH 1/5] Updating version --- riva/client/package_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riva/client/package_info.py b/riva/client/package_info.py index ce08718..d94a42e 100644 --- a/riva/client/package_info.py +++ b/riva/client/package_info.py @@ -22,5 +22,5 @@ __license__ = 'MIT' __keywords__ = 'deep learning, machine learning, gpu, NLP, ASR, TTS, NMT, nvidia, speech, language, Riva, client' __riva_version__ = "2.25.0" -__riva_release__ = "26.02" +__riva_release__ = "25.12" __riva_models_version__ = "2.25.0" From 3084828aa232c111c01ba18ac8d66b635327abd0 Mon Sep 17 00:00:00 2001 From: rmittal-github <61574997+rmittal-github@users.noreply.github.com> Date: Thu, 19 Feb 2026 18:00:51 +0530 Subject: [PATCH 2/5] fix release version --- riva/client/package_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riva/client/package_info.py b/riva/client/package_info.py index d94a42e..ce08718 100644 --- a/riva/client/package_info.py +++ b/riva/client/package_info.py @@ -22,5 +22,5 @@ __license__ = 'MIT' __keywords__ = 'deep learning, machine learning, gpu, NLP, ASR, TTS, NMT, nvidia, speech, language, Riva, client' __riva_version__ = "2.25.0" -__riva_release__ = "25.12" +__riva_release__ = "26.02" __riva_models_version__ = "2.25.0" From 57413c38f99d5c18f5c0647be46ec0517fd1204f Mon Sep 17 00:00:00 2001 From: Anurag Tomer Date: Fri, 20 Feb 2026 13:38:04 +0530 Subject: [PATCH 3/5] Handling text in offline case --- scripts/tts/talk.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/tts/talk.py b/scripts/tts/talk.py index 19eb5ab..cd31690 100644 --- a/scripts/tts/talk.py +++ b/scripts/tts/talk.py @@ -194,7 +194,7 @@ def main() -> None: out_f.writeframesraw(resp.audio) else: resp = service.synthesize( - text_list, args.voice, args.language_code, sample_rate_hz=args.sample_rate_hz, + text_list[0], args.voice, args.language_code, sample_rate_hz=args.sample_rate_hz, encoding=(AudioEncoding.OGGOPUS if args.encoding == "OGGOPUS" else AudioEncoding.LINEAR_PCM), zero_shot_audio_prompt_file=args.zero_shot_audio_prompt_file, zero_shot_quality=(20 if args.zero_shot_quality is None else args.zero_shot_quality), @@ -208,7 +208,10 @@ def main() -> None: if out_f is not None: out_f.writeframesraw(resp.audio) except Exception as e: - print(e.details()) + if callable(getattr(e, "details", None)): + print(e.details()) + else: + print(e) finally: if out_f is not None: out_f.close() From 8cf606a9cd9c0e0a565d8b015da97f0fe1444705 Mon Sep 17 00:00:00 2001 From: Anurag Tomer Date: Fri, 20 Feb 2026 14:21:50 +0530 Subject: [PATCH 4/5] Handling text in offline case --- scripts/tts/talk.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/tts/talk.py b/scripts/tts/talk.py index cd31690..4d856f4 100644 --- a/scripts/tts/talk.py +++ b/scripts/tts/talk.py @@ -143,9 +143,6 @@ def main() -> None: if not args.text and not args.text_file: print("No input text provided") return - if args.text_file is not None and not args.stream: - print("Streaming synthesis is required when using a text list") - return try: if args.output_device is not None or args.play_audio: sound_stream = riva.client.audio_io.SoundCallBack( @@ -194,7 +191,7 @@ def main() -> None: out_f.writeframesraw(resp.audio) else: resp = service.synthesize( - text_list[0], args.voice, args.language_code, sample_rate_hz=args.sample_rate_hz, + ' '.join(text_list), args.voice, args.language_code, sample_rate_hz=args.sample_rate_hz, encoding=(AudioEncoding.OGGOPUS if args.encoding == "OGGOPUS" else AudioEncoding.LINEAR_PCM), zero_shot_audio_prompt_file=args.zero_shot_audio_prompt_file, zero_shot_quality=(20 if args.zero_shot_quality is None else args.zero_shot_quality), From 32f21a69be6a316f58177be996cc5e187e0e5d80 Mon Sep 17 00:00:00 2001 From: Anurag Tomer Date: Fri, 20 Feb 2026 15:19:20 +0530 Subject: [PATCH 5/5] Handling text in offline case --- scripts/tts/talk.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/tts/talk.py b/scripts/tts/talk.py index 4d856f4..73a344e 100644 --- a/scripts/tts/talk.py +++ b/scripts/tts/talk.py @@ -143,6 +143,9 @@ def main() -> None: if not args.text and not args.text_file: print("No input text provided") return + if args.text and args.text_file: + print("Cannot provide both text and text_file at the same time.") + return try: if args.output_device is not None or args.play_audio: sound_stream = riva.client.audio_io.SoundCallBack(