Skip to content

Commit b6b28c3

Browse files
yocontramsluszniak
authored andcommitted
fix: prettier formatting for line length violations
1 parent 8899acb commit b6b28c3

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

packages/react-native-executorch/src/controllers/OCRController.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ export class OCRController extends BaseOCRController {
99
recognizerPath: string,
1010
language: OCRLanguage
1111
): Promise<any> {
12-
return await global.loadOCR(detectorPath, recognizerPath, symbols[language]);
12+
return await global.loadOCR(
13+
detectorPath,
14+
recognizerPath,
15+
symbols[language]
16+
);
1317
}
1418

1519
public load = async (

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ declare global {
5353
var loadTokenizerModule: (source: string) => Promise<any>;
5454
var loadImageEmbeddings: (source: string) => Promise<any>;
5555
var loadVAD: (source: string) => Promise<any>;
56-
var loadTextEmbeddings: (modelSource: string, tokenizerSource: string) => Promise<any>;
56+
var loadTextEmbeddings: (
57+
modelSource: string,
58+
tokenizerSource: string
59+
) => Promise<any>;
5760
var loadLLM: (modelSource: string, tokenizerSource: string) => Promise<any>;
5861
var loadTextToImage: (
5962
tokenizerSource: string,

packages/react-native-executorch/src/modules/natural_language_processing/TextEmbeddingsModule.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ export class TextEmbeddingsModule extends BaseModule {
4444
'The download has been interrupted. As a result, not every file was downloaded. Please retry the download.'
4545
);
4646
}
47-
this.nativeModule = await global.loadTextEmbeddings(modelPath, tokenizerPath);
47+
this.nativeModule = await global.loadTextEmbeddings(
48+
modelPath,
49+
tokenizerPath
50+
);
4851
} catch (error) {
4952
Logger.error('Load failed:', error);
5053
throw parseUnknownError(error);

0 commit comments

Comments
 (0)