Fix CI errors introduced by supporting loading keywords from buffers (#1366)

This commit is contained in:
Fangjun Kuang
2024-09-20 19:04:21 +08:00
committed by GitHub
parent 06b61ccad8
commit d8809b520e
8 changed files with 55 additions and 7 deletions

View File

@@ -371,6 +371,11 @@ final class SherpaOnnxKeywordSpotterConfig extends Struct {
external double keywordsThreshold;
external Pointer<Utf8> keywordsFile;
external Pointer<Utf8> keywordsBuf;
@Int32()
external int keywordsBufSize;
}
final class SherpaOnnxOfflinePunctuation extends Opaque {}