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 161d341 commit 7aa8967Copy full SHA for 7aa8967
README.md
@@ -143,7 +143,7 @@ for await (const chunk of inference.chatCompletionStream({
143
}
144
145
// You can also omit "model" to use the recommended model for the task
146
-await hf.translation({
+await inference.translation({
147
inputs: "My name is Wolfgang and I live in Amsterdam",
148
parameters: {
149
src_lang: "en",
0 commit comments