diff --git a/README.md b/README.md index 84c0750bd..c64c26a31 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ for await (const chunk of inference.chatCompletionStream({ } // You can also omit "model" to use the recommended model for the task -await hf.translation({ +await inference.translation({ inputs: "My name is Wolfgang and I live in Amsterdam", parameters: { src_lang: "en",