From d8c3b71033a585641a7a8e8e7712739dcd1d3831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wa=C5=82ejko?= Date: Tue, 5 May 2020 14:42:01 +0200 Subject: [PATCH] fix beam width setting in python client --- native_client/python/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native_client/python/client.py b/native_client/python/client.py index fe640329..d4bd562a 100644 --- a/native_client/python/client.py +++ b/native_client/python/client.py @@ -120,7 +120,7 @@ def main(): print('Loaded model in {:.3}s.'.format(model_load_end), file=sys.stderr) if args.beam_width: - ds.setModelBeamWidth(args.beam_width) + ds.setBeamWidth(args.beam_width) desired_sample_rate = ds.sampleRate()