Skip to content

Commit

Permalink
readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gary149 committed Oct 8, 2024
1 parent 44095da commit fd60a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fd60a4c

Please sign in to comment.