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 f6d7ff8 commit d9d5a43Copy full SHA for d9d5a43
packages/tasks/src/snippets/js.ts
@@ -48,7 +48,7 @@ export const snippetImageTextToTextGeneration = (model: ModelDataMinimal, access
48
return `import { HfInference } from "@huggingface/inference";
49
50
const inference = new HfInference("${accessToken || `{API_TOKEN}`}");
51
-const imageUrl = "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
+const imageUrl = "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg";
52
53
for await (const chunk of inference.chatCompletionStream({
54
model: "${model.id}",
0 commit comments