fix beam width setting in python client

This commit is contained in:
Łukasz Wałejko 2020-05-05 14:42:01 +02:00
parent 409d19346a
commit d8c3b71033

View File

@ -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()