File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
packages/tasks/src/snippets Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,6 @@ export const snippetTextToImage = (
230230 return [
231231 {
232232 client : "huggingface.js" ,
233- setup : "npm install @huggingface/inference" ,
234233 content : `\
235234import { HfInference } from "@huggingface/inference";
236235
@@ -336,7 +335,6 @@ export const snippetAutomaticSpeechRecognition = (
336335 return [
337336 {
338337 client : "huggingface.js" ,
339- setup : `npm install @huggingface/inference` ,
340338 content : `\
341339import { HfInference } from "@huggingface/inference";
342340
Original file line number Diff line number Diff line change @@ -13,5 +13,4 @@ export type ModelDataMinimal = Pick<
1313export interface InferenceSnippet {
1414 content : string ;
1515 client : string ; // for instance: `client` could be `huggingface_hub` or `openai` client for Python snippets
16- setup ?: string ; // Optional setup / installation steps
1716}
You can’t perform that action at this time.
0 commit comments