Skip to content

Commit 99f9eed

Browse files
author
Mishig
authored
Missing await ? (#124)
`await` is probably missing on that line
1 parent 1ce90df commit 99f9eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/inference/src/HfInference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ export class HfInference {
519519
* Tries to fill in a hole with a missing word (token to be precise). That’s the base task for BERT models.
520520
*/
521521
public async fillMask(args: FillMaskArgs, options?: Options): Promise<FillMaskReturn> {
522-
return this.request(args, options);
522+
return await this.request(args, options);
523523
}
524524

525525
/**

0 commit comments

Comments
 (0)