Skip to content

Commit a5df834

Browse files
committed
rm installation instructions
1 parent 81c5a4f commit a5df834

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/tasks/src/snippets/js.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ export const snippetTextToImage = (
230230
return [
231231
{
232232
client: "huggingface.js",
233-
setup: "npm install @huggingface/inference",
234233
content: `\
235234
import { 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: `\
341339
import { HfInference } from "@huggingface/inference";
342340

packages/tasks/src/snippets/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ export type ModelDataMinimal = Pick<
1313
export 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
}

0 commit comments

Comments
 (0)