Python API Usage example¶
Creating a model instance and loading model¶
1 2 |
if args.scorer:
|
Performing inference¶
1 2 3 4 5 6 |
print('Running inference.', file=sys.stderr)
inference_start = timer()
if args.extended:
print(metadata_to_string(ds.sttWithMetadata(audio, 1).transcripts[0]))
elif args.json:
|
Full source code¶
See Full source code.