Skip to content

Commit 99630ce

Browse files
authored
fix lint error on main branch (#1132)
1 parent 2c759b5 commit 99630ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const bm25s = (model: ModelData): string[] => [
9595
retriever = BM25HF.load_from_hub("${model.id}")`,
9696
];
9797

98-
export const cxr_foundation = (model: ModelData): string[] => [
98+
export const cxr_foundation = (): string[] => [
9999
`!git clone https://github.com/Google-Health/cxr-foundation.git
100100
import tensorflow as tf, sys, requests
101101
sys.path.append('cxr-foundation/python/')
@@ -191,7 +191,7 @@ focallength_px = prediction["focallength_px"]`;
191191
return [installSnippet, inferenceSnippet];
192192
};
193193

194-
export const derm_foundation = (model: ModelData): string[] => [
194+
export const derm_foundation = (): string[] => [
195195
`from huggingface_hub import from_pretrained_keras
196196
import tensorflow as tf, requests
197197

0 commit comments

Comments
 (0)