Merge pull request #2976 from lwalejko/fix_beam_width_setting_in_python_client
Fix beam width setting in python client
This commit is contained in:
commit
553c8ec6f1
@ -120,7 +120,7 @@ def main():
|
|||||||
print('Loaded model in {:.3}s.'.format(model_load_end), file=sys.stderr)
|
print('Loaded model in {:.3}s.'.format(model_load_end), file=sys.stderr)
|
||||||
|
|
||||||
if args.beam_width:
|
if args.beam_width:
|
||||||
ds.setModelBeamWidth(args.beam_width)
|
ds.setBeamWidth(args.beam_width)
|
||||||
|
|
||||||
desired_sample_rate = ds.sampleRate()
|
desired_sample_rate = ds.sampleRate()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user