fix beam width setting in python client
This commit is contained in:
parent
409d19346a
commit
d8c3b71033
@ -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