We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eea49e commit f2795a8Copy full SHA for f2795a8
packages/tasks/src/snippets/js.ts
@@ -57,7 +57,7 @@ export const snippetTextGeneration = (
57
if (streaming) {
58
return [
59
{
60
- client: "huggingface_hub",
+ client: "huggingface.js",
61
content: `import { HfInference } from "@huggingface/inference"
62
63
const client = new HfInference("${accessToken || `{API_TOKEN}`}")
@@ -108,7 +108,7 @@ for await (const chunk of stream) {
108
} else {
109
110
111
112
content: `import { HfInference } from '@huggingface/inference'
113
114
0 commit comments