[js snippet] no more yarn install (#37)
Browse files
src/lib/components/InferencePlayground/InferencePlaygroundCodeSnippets.svelte
CHANGED
@@ -68,9 +68,7 @@
|
|
68 |
snippets.push({
|
69 |
label: 'Install @huggingface/inference',
|
70 |
language: 'bash',
|
71 |
-
code: `npm install --save @huggingface/inference
|
72 |
-
# or
|
73 |
-
yarn add @huggingface/inference`
|
74 |
});
|
75 |
if (conversation.streaming) {
|
76 |
snippets.push({
|
|
|
68 |
snippets.push({
|
69 |
label: 'Install @huggingface/inference',
|
70 |
language: 'bash',
|
71 |
+
code: `npm install --save @huggingface/inference`
|
|
|
|
|
72 |
});
|
73 |
if (conversation.streaming) {
|
74 |
snippets.push({
|