Compare commits

..

1 Commits

Author SHA1 Message Date
coolneng 78acc54e5f
Await prediction and print it in the caller 2021-07-06 17:53:45 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def execute_task(args):
if args.task == "train":
train_model(data_file=args.data_file, label_file=args.label_file)
else:
prediction = infer_sequence(sequence=args.sequence)
prediction = await infer_sequence(sequence=args.sequence)
print(f"Error-corrected sequence: {prediction}")