Skip to content

Commit 68d35a4

Browse files
author
jakmro
committed
feat: add AvailableModels export to sttDefaults and update index file
1 parent 1b31761 commit 68d35a4

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

packages/react-native-executorch/src/constants/sttDefaults.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ export enum STREAMING_ACTION {
7878
DATA,
7979
STOP,
8080
}
81+
82+
export { AvailableModels };

packages/react-native-executorch/src/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,8 @@ export { SpeechToTextLanguage };
8686
export * from './constants/modelUrls';
8787
export * from './constants/ocr/models';
8888
export * from './constants/llmDefaults';
89-
export { STREAMING_ACTION, MODES } from './constants/sttDefaults';
89+
export {
90+
STREAMING_ACTION,
91+
MODES,
92+
AvailableModels,
93+
} from './constants/sttDefaults';

0 commit comments

Comments
 (0)